Skip to content

Instantly share code, notes, and snippets.

@ashu2121
Created January 27, 2019 01:43
Show Gist options
  • Select an option

  • Save ashu2121/07c9b2c0e0c23e00279900def24fbf9d to your computer and use it in GitHub Desktop.

Select an option

Save ashu2121/07c9b2c0e0c23e00279900def24fbf9d to your computer and use it in GitHub Desktop.
MODULE: 000 Computing feature from audio files
Extracting features from segments starting at (part 1 of 1)
Current configuration:
[NAME] [DEFLT] [VALUE]
-alpha 0.97 9.700000e-01
-argfile
-blocksize 2048 2048
-build_outdirs yes yes
-c final-files/etc/final-files_train.fileids
-cep2spec no no
-di final-files/etc/wav
-dither no no
-do final-files/feat
-doublebw no no
-ei wav
-eo mfc
-example no no
-frate 100 100
-help no no
-i
-input_endian little little
-lifter 0 22
-logspec no no
-lowerf 133.33334 1.300000e+02
-mach_endian little little
-mswav no yes
-ncep 13 13
-nchans 1 1
-nfft 512 512
-nfilt 40 25
-nist no no
-npart 0 1
-nskip 0 0
-o
-ofmt sphinx sphinx
-part 0 1
-raw no no
-remove_dc no no
-remove_noise yes yes
-remove_silence yes yes
-round_filters yes yes
-runlen -1 -1
-samprate 16000 1.600000e+04
-seed -1 -1
-smoothspec no no
-spec2cep no no
-sph2pipe no no
-transform legacy dct
-unit_area yes yes
-upperf 6855.4976 6.800000e+03
-vad_postspeech 50 50
-vad_prespeech 20 20
-vad_startspeech 10
-vad_threshold 3.0 3.000000e+00
-verbose no no
-warp_params
-warp_type inverse_linear inverse_linear
-whichchan 0 0
-wlen 0.025625 2.562500e-02
INFO: sphinx_fe.c(971): Processing all remaining utterances at position 0
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/abhi-rhta-haan.wav to final-files/feat/speaker_1/abhi-rhta-haan.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/abhi-tak-kiya-nhi-apne.wav to final-files/feat/speaker_1/abhi-tak-kiya-nhi-apne.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/abhi.wav to final-files/feat/speaker_1/abhi.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/ajj-bhuy-bda-hadsa-ho-gya-railway-track-pr.wav to final-files/feat/speaker_1/ajj-bhuy-bda-hadsa-ho-gya-railway-track-pr.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/ajj-kal-rajniti-bhut-hi-khrab-ho-chuki-han.wav to final-files/feat/speaker_1/ajj-kal-rajniti-bhut-hi-khrab-ho-chuki-han.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/ajjkal-log-subh-subh-jldi-uth-jate-han.wav to final-files/feat/speaker_1/ajjkal-log-subh-subh-jldi-uth-jate-han.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/ajjmainsbahsubahuthkrchidyakodanaorpanipilya.wav to final-files/feat/speaker_1/ajjmainsbahsubahuthkrchidyakodanaorpanipilya.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/akhir-ye-nmuna-han-kon-tum-ise-pehchante-ho.wav to final-files/feat/speaker_1/akhir-ye-nmuna-han-kon-tum-ise-pehchante-ho.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/akhirtumkehnakyachwhtehokyatumsnhihopayega.wav to final-files/feat/speaker_1/akhirtumkehnakyachwhtehokyatumsnhihopayega.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/apka-kaam-ho-gya.wav to final-files/feat/speaker_1/apka-kaam-ho-gya.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/apka-kya-naam-han.wav to final-files/feat/speaker_1/apka-kya-naam-han.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/bebkooof-insaan-ye-tumne-kya-kr-diya.wav to final-files/feat/speaker_1/bebkooof-insaan-ye-tumne-kya-kr-diya.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/bhaag-jao.wav to final-files/feat/speaker_1/bhaag-jao.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/btao-rahul-tum-nhi-arehe-kya.wav to final-files/feat/speaker_1/btao-rahul-tum-nhi-arehe-kya.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/byaad-main-jao.wav to final-files/feat/speaker_1/byaad-main-jao.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/chaina-hamre-desh-se-bhut-jayada-agee-nikl.wav to final-files/feat/speaker_1/chaina-hamre-desh-se-bhut-jayada-agee-nikl.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/chalo-chate-han.wav to final-files/feat/speaker_1/chalo-chate-han.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/chalo-khelte-haain.wav to final-files/feat/speaker_1/chalo-khelte-haain.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/chalo-main-tumhe-doctor-ke-pass-le.wav to final-files/feat/speaker_1/chalo-main-tumhe-doctor-ke-pass-le.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/chalomanatahunkrdumgaapkakaamprmujhekyamilega.wav to final-files/feat/speaker_1/chalomanatahunkrdumgaapkakaamprmujhekyamilega.mfc
Extracting features from segments starting at (part 1 of 1)
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/dekho-bo-abhi-tak-gya-hi-nhi.wav to final-files/feat/speaker_1/dekho-bo-abhi-tak-gya-hi-nhi.mfc
INFO: sphinx_fe.c(791): Converting D:/dream/AI/databank/hindi-text-datFeature extraction is done
a/final-files/etc/wav/speaker_1/edther-aoo.wav to final-files/feat/speaker_1/edther-aoo.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/fek-news-pr-rakhi-ja-rahi-han-nzr-srkar-ka-dawa.wav to final-files/feat/speaker_1/fek-news-pr-rakhi-ja-rahi-han-nzr-srkar-ka-dawa.mfc
Current configuration:
[NAME] [DEFLT] [VALUE]
-alpha 0.97 9.700000e-01
-argfile
-blocksize 2048 2048
-build_outdirs yes yes
-c final-files/etc/testing-data/final-files_test.fileids
-cep2spec no no
-di final-files/etc/wav
-dither no no
-do final-files/feat
-doublebw no no
-ei wav
-eo mfc
-example no no
-frate 100 100
-help no no
-i
-input_endian little little
-lifter 0 22
-logspec no no
-lowerf 133.33334 1.300000e+02
-mach_endian little little
-mswav no yes
-ncep 13 13
-nchans 1 1
-nfft 512 512
-nfilt 40 25
-nist no no
-npart 0 1
-nskip 0 0
-o
-ofmt sphinx sphinx
-part 0 1
-raw no no
-remove_dc no no
-remove_noise yes yes
-remove_silence yes yes
-round_filters yes yes
-runlen -1 -1
-samprate 16000 1.600000e+04
-seed -1 -1
-smoothspec no no
-spec2cep no no
-sph2pipe no no
-transform legacy dct
-unit_area yes yes
-upperf 6855.4976 6.800000e+03
-vad_postspeech 50 50
-vad_prespeech 20 20
-vad_startspeech 10 10
-vad_threshold 3.0 3.000000e+00
-verbose no no
-warp_params
-warp_type inverse_linear inverse_linear
-whichchan 0 0
-wlen 0.025625 2.562500e-02
INFO: sphinx_fe.c(971): Processing all remaining utterances at position 0
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/abhi-rhta-haan.wav to final-files/feat/speaker_1/abhi-rhta-haan.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/hindu-dharm-main-bhutjaydamanytavedokodigyihan.wav to final-files/feat/speaker_1/hindu-dharm-main-bhutjaydamanytavedokodigyihan.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/abhi-tak-kiya-nhi-apne.wav to final-files/feat/speaker_1/abhi-tak-kiya-nhi-apne.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/hulk-1.wav to final-files/feat/speaker_1/hulk-1.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/abhi.wav to final-files/feat/speaker_1/abhi.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/ajj-bhuy-bda-hadsa-ho-gya-railway-track-pr.wav to final-files/feat/speaker_1/ajj-bhuy-bda-hadsa-ho-gya-railway-track-pr.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/hulk-2.wav to final-files/feat/speaker_1/hulk-2.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/ajj-kal-rajniti-bhut-hi-khrab-ho-chuki-han.wav to final-files/feat/speaker_1/ajj-kal-rajniti-bhut-hi-khrab-ho-chuki-han.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/hulk-3.wav to final-files/feat/speaker_1/hulk-3.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/ajjkal-log-subh-subh-jldi-uth-jate-han.wav to final-files/feat/speaker_1/ajjkal-log-subh-subh-jldi-uth-jate-han.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/hulk-4.wav to final-files/feat/speaker_1/hulk-4.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/ajjmainsbahsubahuthkrchidyakodanaorpanipilya.wav to final-files/feat/speaker_1/ajjmainsbahsubahuthkrchidyakodanaorpanipilya.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/akhir-ye-nmuna-han-kon-tum-ise-pehchante-ho.wav to final-files/feat/speaker_1/akhir-ye-nmuna-han-kon-tum-ise-pehchante-ho.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/hulk.wav to final-files/feat/speaker_1/hulk.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/akhirtumkehnakyachwhtehokyatumsnhihopayega.wav to final-files/feat/speaker_1/akhirtumkehnakyachwhtehokyatumsnhihopayega.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/apka-kaam-ho-gya.wav to final-files/feat/speaker_1/apka-kaam-ho-gya.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/hulk-5.wav to final-files/feat/speaker_1/hulk-5.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/apka-kya-naam-han.wav to final-files/feat/speaker_1/apka-kya-naam-han.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/bebkooof-insaan-ye-tumne-kya-kr-diya.wav to final-files/feat/speaker_1/bebkooof-insaan-ye-tumne-kya-kr-diya.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/hulk-6.wav to final-files/feat/speaker_1/hulk-6.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/bhaag-jao.wav to final-files/feat/speaker_1/bhaag-jao.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/btao-rahul-tum-nhi-arehe-kya.wav to final-files/feat/speaker_1/btao-rahul-tum-nhi-arehe-kya.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/byaad-main-jao.wav to final-files/feat/speaker_1/byaad-main-jao.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/is-khane-ko-kate-churi-ke-saath-khaya-jata-haan.wav to final-files/feat/speaker_1/is-khane-ko-kate-churi-ke-saath-khaya-jata-haan.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/chaina-hamre-desh-se-bhut-jayada-agee-nikl.wav to final-files/feat/speaker_1/chaina-hamre-desh-se-bhut-jayada-agee-nikl.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/jao.wav to final-files/feat/speaker_1/jao.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/chalo-chate-han.wav to final-files/feat/speaker_1/chalo-chate-han.mfc
INFO: sphinx_fe.c(791): Converting final-files/etc/wav/speaker_1/chalo-khelte-haain.wav to final-files/feat/speaker_1/chalo-khelte-haain.mfc
MODULE: 00 verify training files
Phase 1: Checking to see if the dict and filler dict agrees with the phonelist file.
Found 1461 words using 444 phones
Phase 2: Checking to make sure there are not duplicate entries in the dictionary
Phase 3: Check general format for the fileids file; utterance length (must be positive); files exist
Phase 4: Checking number of lines in the transcript file should match lines in fileids file
Phase 5: Determine amount of training data, see if n_tied_states seems reasonable.
Estimated Total Hours Training: 0.0322805555555556
This is a small amount of data, no comment at this time
Phase 6: Checking that all the words in the transcript are in the dictionary
Words in dictionary: 1458
Words in filler dictionary: 3
Phase 7: Checking that all the phones in the transcript are in the phonelist, and all phones in the phonelist appear at least once
MODULE: 0000 train grapheme-to-phoneme model
Skipped (set $CFG_G2P_MODEL = 'yes' to enable)
MODULE: 01 Train LDA transformation
Skipped (set $CFG_LDA_MLLT = 'yes' to enable)
MODULE: 02 Train MLLT transformation
Skipped (set $CFG_LDA_MLLT = 'yes' to enable)
MODULE: 05 Vector Quantization
Skipped for continuous models
MODULE: 10 Training Context Independent models for forced alignment and VTLN
Skipped: $ST::CFG_FORCEDALIGN set to 'no' in sphinx_train.cfg
Skipped: $ST::CFG_VTLN set to 'no' in sphinx_train.cfg
MODULE: 11 Force-aligning transcripts
Skipped: $ST::CFG_FORCEDALIGN set to 'no' in sphinx_train.cfg
MODULE: 12 Force-aligning data for VTLN
Skipped: $ST::CFG_VTLN set to 'no' in sphinx_train.cfg
MODULE: 20 Training Context Independent models
Phase 1: Cleaning up directories:
accumulator...logs...qmanager...models...
Phase 2: Flat initialize
Current configuration:
[NAME] [DEFLT] [VALUE]
-dictfn
-example no no
-fdictfn
-help no no
-ignorewpos no no
-inCDmdef
-inCImdef
-lsnfn
-maxtriphones 100000 100000
-minocc 1 1
-n_state_pm 3 3
-oalltphnmdef
-ocimdef final-files/model_architecture/final-files.ci.mdef
-ocountfn
-ountiedmdef
-phnlstfn final-files/model_architecture/final-files.phonelist
-triphnlstfn
INFO: main.c(92): Will write CI mdef file final-files/model_architecture/final-files.ci.mdef
INFO: mk_mdef_gen.c(189): 0 single word triphones in input phone list
INFO: mk_mdef_gen.c(190): 0 word beginning triphones in input phone list
INFO: mk_mdef_gen.c(191): 0 word internal triphones in input phone list
INFO: mk_mdef_gen.c(192): 0 word ending triphones in input phone list
INFO: mk_mdef_gen.c(897): 444 n_base, 0 n_tri
INFO: mk_mdef_gen.c(969): Wrote mdef file final-files/model_architecture/final-files.ci.mdef
Skipped (set $CFG_CD_TRAIN = 'yes' to enable)
Skipped (set $CFG_CD_TRAIN = 'yes' to enable)
Skipped (set $CFG_CD_TRAIN = 'yes' to enable)
Skipped (set $CFG_CD_TRAIN = 'yes' to enable)
MODULE: 60 Lattice Generation
Skipped: $ST::CFG_MMIE set to 'no' in sphinx_train.cfg
MODULE: 61 Lattice Pruning
Skipped: $ST::CFG_MMIE set to 'no' in sphinx_train.cfg
MODULE: 62 Lattice Format Conversion
Skipped: $ST::CFG_MMIE set to 'no' in sphinx_train.cfg
MODULE: 65 MMIE Training
Skipped: $ST::CFG_MMIE set to 'no' in sphinx_train.cfg
MODULE: 90 deleted interpolation
Skipped for continuous models
MODULE: DECODE Decoding using models previously trained
Decoding 18 segments starting at 0 (part 1 of 1)
Aligning results to find error rate
Current configuration:
[NAME] [DEFLT] [VALUE]
-agc none none
-agcthresh 2.0 2.000000e+00
-allphone
-allphone_ci yes yes
-alpha 0.97 9.700000e-01
-ascale 20.0 2.000000e+01
-aw 1 1
-backtrace no no
-beam 1e-48 1.000000e-80
-bestpath yes yes
-bestpathlw 9.5 1.000000e+01
-ceplen 13 13
-cmn live batch
-cmninit 40,3,-1 40,3,-1
-compallsen no no
-dict final-files/etc/final-files.dic
-dictcase no no
-dither no no
-doublebw no no
-ds 1 1
-fdict
-feat 1s_c_d_dd 1s_c_d_dd
-featparams
-fillprob 1e-8 1.000000e-08
-frate 100 100
-fsg
-fsgusealtpron yes yes
-fsgusefiller yes yes
-fwdflat yes yes
-fwdflatbeam 1e-64 1.000000e-80
-fwdflatefwid 4 4
-fwdflatlw 8.5 1.000000e+01
-fwdflatsfwin 25 25
-fwdflatwbeam 7e-29 1.000000e-40
-fwdtree yes yes
-hmm final-files/model_parameters/final-files.cd_cont_200
-input_endian little little
-jsgf
-keyphrase
-kws
-kws_delay 10 10
-kws_plp 1e-1 1.000000e-01
-kws_threshold 1e-30 1.000000e-30
-latsize 5000 5000
-lda
-ldadim 0 0
-lifter 0 0
-lm final-files/etc/final-files.lm
-lmctl
-lmname
-logbase 1.0001 1.000100e+00
-logfn
-logspec no no
-lowerf 133.33334 1.333333e+02
-lpbeam 1e-40 1.000000e-80
-lponlybeam 7e-29 1.000000e-80
-lw 6.5 1.000000e+01
-maxhmmpf 30000 30000
-maxwpf -1 -1
-mdef
-mean
-mfclogdir
-min_endfr 0 0
-mixw
-mixwfloor 0.0000001 1.000000e-07
-mllr
-mmap yes yes
-ncep 13 13
-nfft 512 512
-nfilt 40 40
-nwpen 1.0 1.000000e+00
-pbeam 1e-48 1.000000e-80
-pip 1.0Sphinxtrain path: final-files/sphinxtrain
Sphinxtrain binaries path: final-files/sphinxtrain/bin/Release/Win32
Running the training
1.000000e+00
-pl_beam 1e-10 1.000000e-10
-pl_pbeam 1e-10 1.000000e-10
-pl_pip 1.0 1.000000e+00
-pl_weight 3.0 3.000000e+00
-pl_window 5 5
-rawlogdir
-remove_dc no no
-remove_noise yes yes
-remove_silence yes yes
-round_filters yes yes
-samprate 16000 1.600000e+04
-seed -1 -1
-sendump
-senlogdir
-senmgau
-silprob 0.005 5.000000e-03
-smoothspec no no
-svspec
-tmat
-tmatfloor 0.0001 1.000000e-04
-topn 4 4
-topn_beam 0 0
-toprule
-transform legacy legacy
-unit_area yes yes
-upperf 6855.4976 6.855498e+03
-uw 1.0 1.000000e+00
-vad_postspeech 50 50
-vad_prespeech 20 20
-vad_startspeech 10 10
-vad_threshold 3.0 3.000000e+00
-var
-varfloor 0.0001 1.000000e-04
-varnorm no no
-verbose no no
-warp_params
-warp_type inverse_linear inverse_linear
-wbeam 7e-29 1.000000e-40
-wip 0.65 2.000000e-01
-wlen 0.025625 2.562500e-02
INFO: feat.c(715): Initializing feature stream to type: '1s_c_d_dd', ceplen=13, CMN='batch', VARNORM='no', AGC='none'
ERROR: "acmod.c", line 79: Folder 'final-files/model_parameters/final-files.cd_cont_200' does not contain acoustic model definition 'mdef'
FATAL: "batch.c", line 913: PocketSphinx decoder init failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment