PedroEstevesPT / kaldi_toy_example

Toy example to illustrate how to use kaldi recipes.
12 stars 6 forks source link

kaldi::KaldiFatalErrorerror getting feature dimension #3

Open KhawajaGamer opened 3 years ago

KhawajaGamer commented 3 years ago

Checking data/local/dict/silence_phones.txt ... --> reading data/local/dict/silence_phones.txt --> text seems to be UTF-8 or ASCII, checking whitespaces --> text contains only allowed whitespaces --> data/local/dict/silence_phones.txt is OK

Checking data/local/dict/optional_silence.txt ... --> reading data/local/dict/optional_silence.txt --> text seems to be UTF-8 or ASCII, checking whitespaces --> text contains only allowed whitespaces --> data/local/dict/optional_silence.txt is OK

Checking data/local/dict/nonsilence_phones.txt ... --> reading data/local/dict/nonsilence_phones.txt --> text seems to be UTF-8 or ASCII, checking whitespaces --> text contains only allowed whitespaces --> data/local/dict/nonsilence_phones.txt is OK

Checking disjoint: silence_phones.txt, nonsilence_phones.txt --> disjoint property is OK.

Checking data/local/dict/lexicon.txt --> reading data/local/dict/lexicon.txt --> text seems to be UTF-8 or ASCII, checking whitespaces --> text contains only allowed whitespaces --> data/local/dict/lexicon.txt is OK

Checking data/local/dict/extra_questions.txt ... --> data/local/dict/extra_questions.txt is empty (this is OK) --> SUCCESS [validating dictionary directory data/local/dict]

**Creating data/local/dict/lexiconp.txt from data/local/dict/lexicon.txt fstaddselfloops data/lang/phones/wdisambig_phones.int data/lang/phones/wdisambig_words.int prepare_lang.sh: validating output directory utils/validate_lang.pl data/lang Checking existence of separator file separator file data/lang/subword_separator.txt is empty or does not exist, deal in word case. Checking data/lang/phones.txt ... --> text seems to be UTF-8 or ASCII, checking whitespaces --> text contains only allowed whitespaces --> data/lang/phones.txt is OK

Checking words.txt: #0 ... --> text seems to be UTF-8 or ASCII, checking whitespaces --> text contains only allowed whitespaces --> data/lang/words.txt is OK

Checking disjoint: silence.txt, nonsilence.txt, disambig.txt ... --> silence.txt and nonsilence.txt are disjoint --> silence.txt and disambig.txt are disjoint --> disambig.txt and nonsilence.txt are disjoint --> disjoint property is OK

Checking sumation: silence.txt, nonsilence.txt, disambig.txt ... --> found no unexplainable phones in phones.txt

Checking data/lang/phones/context_indep.{txt, int, csl} ... --> text seems to be UTF-8 or ASCII, checking whitespaces --> text contains only allowed whitespaces --> 10 entry/entries in data/lang/phones/context_indep.txt --> data/lang/phones/context_indep.int corresponds to data/lang/phones/context_indep.txt --> data/lang/phones/context_indep.csl corresponds to data/lang/phones/context_indep.txt --> data/lang/phones/context_indep.{txt, int, csl} are OK

Checking data/lang/phones/nonsilence.{txt, int, csl} ... --> text seems to be UTF-8 or ASCII, checking whitespaces --> text contains only allowed whitespaces --> 452 entry/entries in data/lang/phones/nonsilence.txt --> data/lang/phones/nonsilence.int corresponds to data/lang/phones/nonsilence.txt --> data/lang/phones/nonsilence.csl corresponds to data/lang/phones/nonsilence.txt --> data/lang/phones/nonsilence.{txt, int, csl} are OK

Checking data/lang/phones/silence.{txt, int, csl} ... --> text seems to be UTF-8 or ASCII, checking whitespaces --> text contains only allowed whitespaces --> 10 entry/entries in data/lang/phones/silence.txt --> data/lang/phones/silence.int corresponds to data/lang/phones/silence.txt --> data/lang/phones/silence.csl corresponds to data/lang/phones/silence.txt --> data/lang/phones/silence.{txt, int, csl} are OK

Checking data/lang/phones/optional_silence.{txt, int, csl} ... --> text seems to be UTF-8 or ASCII, checking whitespaces --> text contains only allowed whitespaces --> 1 entry/entries in data/lang/phones/optional_silence.txt --> data/lang/phones/optional_silence.int corresponds to data/lang/phones/optional_silence.txt --> data/lang/phones/optional_silence.csl corresponds to data/lang/phones/optional_silence.txt --> data/lang/phones/optional_silence.{txt, int, csl} are OK

Checking data/lang/phones/disambig.{txt, int, csl} ... --> text seems to be UTF-8 or ASCII, checking whitespaces --> text contains only allowed whitespaces --> 2 entry/entries in data/lang/phones/disambig.txt --> data/lang/phones/disambig.int corresponds to data/lang/phones/disambig.txt --> data/lang/phones/disambig.csl corresponds to data/lang/phones/disambig.txt --> data/lang/phones/disambig.{txt, int, csl} are OK

Checking data/lang/phones/roots.{txt, int} ... --> text seems to be UTF-8 or ASCII, checking whitespaces --> text contains only allowed whitespaces --> 115 entry/entries in data/lang/phones/roots.txt --> data/lang/phones/roots.int corresponds to data/lang/phones/roots.txt --> data/lang/phones/roots.{txt, int} are OK

Checking data/lang/phones/sets.{txt, int} ... --> text seems to be UTF-8 or ASCII, checking whitespaces --> text contains only allowed whitespaces --> 115 entry/entries in data/lang/phones/sets.txt --> data/lang/phones/sets.int corresponds to data/lang/phones/sets.txt --> data/lang/phones/sets.{txt, int} are OK

Checking data/lang/phones/extra_questions.{txt, int} ... --> text seems to be UTF-8 or ASCII, checking whitespaces --> text contains only allowed whitespaces --> 9 entry/entries in data/lang/phones/extra_questions.txt --> data/lang/phones/extra_questions.int corresponds to data/lang/phones/extra_questions.txt --> data/lang/phones/extra_questions.{txt, int} are OK

Checking data/lang/phones/word_boundary.{txt, int} ... --> text seems to be UTF-8 or ASCII, checking whitespaces --> text contains only allowed whitespaces --> 462 entry/entries in data/lang/phones/word_boundary.txt --> data/lang/phones/word_boundary.int corresponds to data/lang/phones/word_boundary.txt --> data/lang/phones/word_boundary.{txt, int} are OK

Checking optional_silence.txt ... --> reading data/lang/phones/optional_silence.txt --> data/lang/phones/optional_silence.txt is OK

Checking disambiguation symbols: #0 and #1 --> data/lang/phones/disambig.txt has "#0" and "#1" --> data/lang/phones/disambig.txt is OK

Checking topo ...

Checking word_boundary.txt: silence.txt, nonsilence.txt, disambig.txt ... --> data/lang/phones/word_boundary.txt doesn't include disambiguation symbols --> data/lang/phones/word_boundary.txt is the union of nonsilence.txt and silence.txt --> data/lang/phones/word_boundary.txt is OK

Checking word-level disambiguation symbols... --> data/lang/phones/wdisambig.txt exists (newer prepare_lang.sh) Checking word_boundary.int and disambig.int This script cannot continue because your path.sh or bash profile prints something: export COLORFGBG='15;0' export COLORTERM='truecolor' export DATA_ROOT='/home/{user}/kaldi/egs/babel/kaldi_toy_example' export DBUS_SESSION_BUS_ADDRESS='unix:path=/run/user/1000/bus' export DESKTOP_SESSION='plasma' export DISPLAY=':0' export GPG_AGENT_INFO='/run/user/1000/gnupg/S.gpg-agent:0:1' export GTK2_RC_FILES='/etc/gtk-2.0/gtkrc:/home/khawaja/.gtkrc-2.0:/home/khawaja/.config/gtkrc-2.0' export GTK_RC_FILES='/etc/gtk/gtkrc:/home/khawaja/.gtkrc:/home/khawaja/.config/gtkrc' export HOME='/home/khawaja' export IRSTLM='/home/khawaja/Desktop/kaldi/tools/irstlm' export KALDI_ROOT='/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../..' export KDE_APPLICATIONS_AS_SCOPE='1' export KDE_FULL_SESSION='true' export KDE_SESSION_UID='1000' export KDE_SESSION_VERSION='5' export KONSOLE_DBUS_SERVICE=':1.50' export KONSOLE_DBUS_SESSION='/Sessions/1' export KONSOLE_DBUS_WINDOW='/Windows/1' export KONSOLE_VERSION='201203' export LANG='bgn_PK.UTF-8' export LANGUAGE='' export LC_ADDRESS='ur_PK' export LC_ALL='C' export LC_IDENTIFICATION='ur_PK' export LC_MEASUREMENT='ur_PK' export LC_MONETARY='ur_PK' export LC_NAME='ur_PK' export LC_NUMERIC='ur_PK' export LC_PAPER='ur_PK' export LC_TELEPHONE='ur_PK' export LC_TIME='ur_PK' export LD_LIBRARY_PATH=':/home/khawaja/Desktop/kaldi/tools/liblbfgs-1.10/lib/.libs:/home/khawaja/Desktop/kaldi/tools/liblbfgs-1.10/lib/.libs' export LESSCLOSE='/usr/bin/lesspipe %s %s' export LESSOPEN='| /usr/bin/lesspipe %s' export LIBLBFGS='/home/khawaja/Desktop/kaldi/tools/liblbfgs-1.10' export LOGNAME='khawaja' export LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:' export PAM_KWALLET5_LOGIN='/run/user/1000/kwallet5.socket' export PATH='/home/khawaja/Desktop/kaldi/tools/python:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/utils/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/bin:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../tools/openfst/bin:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/fstbin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/gmmbin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/featbin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/lmbin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/sgmm2bin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/fgmmbin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/latbin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example:/home/khawaja/Desktop/kaldi/tools/python:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/utils/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/bin:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../tools/openfst/bin:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/fstbin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/gmmbin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/featbin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/lmbin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/sgmm2bin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/fgmmbin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/latbin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example:/home/khawaja/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/khawaja/Desktop/kaldi/tools/irstlm/bin:/home/khawaja/Desktop/kaldi/tools/sequitur-g2p/bin:/home/khawaja/Desktop/kaldi/tools/srilm/bin:/home/khawaja/Desktop/kaldi/tools/srilm/bin/i686-m64:/home/khawaja/Desktop/kaldi/tools/irstlm/bin:/home/khawaja/Desktop/kaldi/tools/sequitur-g2p/bin:/home/khawaja/Desktop/kaldi/tools/srilm/bin:/home/khawaja/Desktop/kaldi/tools/srilm/bin/i686-m64' export PROFILEHOME='/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example' export PWD='/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example' export PYTHONPATH=':/home/khawaja/Desktop/kaldi/tools/sequitur-g2p/./lib/python3.9/site-packages:/home/khawaja/Desktop/kaldi/tools/sequitur-g2p/./lib/python3.9/site-packages' export QT_ACCESSIBILITY='1' export QT_AUTO_SCREEN_SCALE_FACTOR='0' export QT_SCREEN_SCALE_FACTORS='eDP-1=1.25;DP-1=1.25;HDMI-1=1.25;DP-2=1.25;' export SEQUITUR='/home/khawaja/Desktop/kaldi/tools/sequitur-g2p' export SESSION_MANAGER='local/khawaja-TECRA-X40-D:@/tmp/.ICE-unix/1236,unix/khawaja-TECRA-X40-D:/tmp/.ICE-unix/1236' export SHELL='/bin/bash' export SHELL_SESSION_ID='c20399189a8c4ab499921bc3c20e46b3' export SHLVL='3' export SRILM='/home/khawaja/Desktop/kaldi/tools/srilm' export SSH_AGENT_PID='1100' export SSH_AUTH_SOCK='/tmp/ssh-U8FuwSX0eGIV/agent.976' export TERM='xterm-256color' export USER='khawaja' export WINDOWID='50331655' export XAUTHORITY='/home/khawaja/.Xauthority' export XCURSOR_SIZE='24' export XCURSOR_THEME='breeze_cursors' export XDG_CONFIG_DIRS='/etc/xdg/xdg-plasma:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings' export XDG_CURRENT_DESKTOP='KDE' export XDG_DATA_DIRS='/usr/share/plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktop' export XDG_RUNTIME_DIR='/run/user/1000' export XDG_SEAT='seat0' export XDG_SEAT_PATH='/org/freedesktop/DisplayManager/Seat0' export XDG_SESSION_CLASS='user' export XDG_SESSION_DESKTOP='KDE' export XDG_SESSION_ID='3' export XDG_SESSION_PATH='/org/freedesktop/DisplayManager/Session1' export XDG_SESSION_TYPE='x11' export XDGVTNR='1' export ='utils/validate_lang.pl' export decode_cmd='run.pl' export train_cmd='run.pl' Please fix that and try again. prepare_lang.sh: error validating output

===== LANGUAGE MODEL CREATION ===== ===== MAKING lm.arpa =====

===== MAKING G.fst =====

arpa2fst --disambig-symbol=#0 --read-symbol-table=data/lang/words.txt data/local/tmp/lm.arpa data/lang/G.fst LOG (arpa2fst[5.5.971~1-07043]:Read():arpa-file-parser.cc:94) Reading \data\ section. LOG (arpa2fst[5.5.971~1-07043]:Read():arpa-file-parser.cc:149) Reading \1-grams: section. LOG (arpa2fst[5.5.971~1-07043]:RemoveRedundantStates():arpa-lm-compiler.cc:359) Reduced num-states from 1 to 1

===== MONO TRAINING =====

steps/train_mono.sh --nj 1 --cmd run.pl data/train data/lang exp/mono declare -x COLORFGBG="15;0" declare -x COLORTERM="truecolor" declare -x DATA_ROOT="/home/{user}/kaldi/egs/babel/kaldi_toy_example" declare -x DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus" declare -x DESKTOP_SESSION="plasma" declare -x DISPLAY=":0" declare -x GPG_AGENT_INFO="/run/user/1000/gnupg/S.gpg-agent:0:1" declare -x GTK2_RC_FILES="/etc/gtk-2.0/gtkrc:/home/khawaja/.gtkrc-2.0:/home/khawaja/.config/gtkrc-2.0" declare -x GTK_RC_FILES="/etc/gtk/gtkrc:/home/khawaja/.gtkrc:/home/khawaja/.config/gtkrc" declare -x HOME="/home/khawaja" declare -x IRSTLM="/home/khawaja/Desktop/kaldi/tools/irstlm" declare -x KALDI_ROOT="/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../.." declare -x KDE_APPLICATIONS_AS_SCOPE="1" declare -x KDE_FULL_SESSION="true" declare -x KDE_SESSION_UID="1000" declare -x KDE_SESSION_VERSION="5" declare -x KONSOLE_DBUS_SERVICE=":1.50" declare -x KONSOLE_DBUS_SESSION="/Sessions/1" declare -x KONSOLE_DBUS_WINDOW="/Windows/1" declare -x KONSOLE_VERSION="201203" declare -x LANG="bgn_PK.UTF-8" declare -x LANGUAGE="" declare -x LC_ADDRESS="ur_PK" declare -x LC_ALL="C" declare -x LC_IDENTIFICATION="ur_PK" declare -x LC_MEASUREMENT="ur_PK" declare -x LC_MONETARY="ur_PK" declare -x LC_NAME="ur_PK" declare -x LC_NUMERIC="ur_PK" declare -x LC_PAPER="ur_PK" declare -x LC_TELEPHONE="ur_PK" declare -x LC_TIME="ur_PK" declare -x LD_LIBRARY_PATH=":/home/khawaja/Desktop/kaldi/tools/liblbfgs-1.10/lib/.libs" declare -x LESSCLOSE="/usr/bin/lesspipe %s %s" declare -x LESSOPEN="| /usr/bin/lesspipe %s" declare -x LIBLBFGS="/home/khawaja/Desktop/kaldi/tools/liblbfgs-1.10" declare -x LOGNAME="khawaja" declare -x LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:" declare -x OLDPWD declare -x PAM_KWALLET5_LOGIN="/run/user/1000/kwallet5.socket" declare -x PATH="/home/khawaja/Desktop/kaldi/tools/python:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/utils/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/bin:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../tools/openfst/bin:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/fstbin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/gmmbin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/featbin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/lmbin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/sgmm2bin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/fgmmbin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example/../../src/latbin/:/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example:/home/khawaja/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/khawaja/Desktop/kaldi/tools/irstlm/bin:/home/khawaja/Desktop/kaldi/tools/sequitur-g2p/bin:/home/khawaja/Desktop/kaldi/tools/srilm/bin:/home/khawaja/Desktop/kaldi/tools/srilm/bin/i686-m64" declare -x PROFILEHOME="/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example" declare -x PWD="/home/khawaja/Desktop/kaldi/egs/kaldi_toy_example" declare -x PYTHONPATH=":/home/khawaja/Desktop/kaldi/tools/sequitur-g2p/./lib/python3.9/site-packages" declare -x QT_ACCESSIBILITY="1" declare -x QT_AUTO_SCREEN_SCALE_FACTOR="0" declare -x QT_SCREEN_SCALE_FACTORS="eDP-1=1.25;DP-1=1.25;HDMI-1=1.25;DP-2=1.25;" declare -x SEQUITUR="/home/khawaja/Desktop/kaldi/tools/sequitur-g2p" declare -x SESSION_MANAGER="local/khawaja-TECRA-X40-D:@/tmp/.ICE-unix/1236,unix/khawaja-TECRA-X40-D:/tmp/.ICE-unix/1236" declare -x SHELL="/bin/bash" declare -x SHELL_SESSION_ID="c20399189a8c4ab499921bc3c20e46b3" declare -x SHLVL="3" declare -x SRILM="/home/khawaja/Desktop/kaldi/tools/srilm" declare -x SSH_AGENT_PID="1100" declare -x SSH_AUTH_SOCK="/tmp/ssh-U8FuwSX0eGIV/agent.976" declare -x TERM="xterm-256color" declare -x USER="khawaja" declare -x WINDOWID="50331655" declare -x XAUTHORITY="/home/khawaja/.Xauthority" declare -x XCURSOR_SIZE="24" declare -x XCURSOR_THEME="breeze_cursors" declare -x XDG_CONFIG_DIRS="/etc/xdg/xdg-plasma:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings" declare -x XDG_CURRENT_DESKTOP="KDE" declare -x XDG_DATA_DIRS="/usr/share/plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktop" declare -x XDG_RUNTIME_DIR="/run/user/1000" declare -x XDG_SEAT="seat0" declare -x XDG_SEAT_PATH="/org/freedesktop/DisplayManager/Seat0" declare -x XDG_SESSION_CLASS="user" declare -x XDG_SESSION_DESKTOP="KDE" declare -x XDG_SESSION_ID="3" declare -x XDG_SESSION_PATH="/org/freedesktop/DisplayManager/Session1" declare -x XDG_SESSION_TYPE="x11" declare -x XDG_VTNR="1" declare -x decode_cmd="run.pl" declare -x train_cmd="run.pl" steps/train_mono.sh: Initializing monophone system. feat-to-dim 'ark,s,cs:apply-cmvn --utt2spk=ark:data/train/split1/1/utt2spk scp:data/train/split1/1/cmvn.scp scp:data/train/split1/1/feats.scp ark:- | add-deltas ark:- ark:- |' - add-deltas ark:- ark:- apply-cmvn --utt2spk=ark:data/train/split1/1/utt2spk scp:data/train/split1/1/cmvn.scp scp:data/train/split1/1/feats.scp ark:- WARNING (apply-cmvn[5.5.971~1-07043]:Open():util/kaldi-table-inl.h:106) Failed to open script file data/train/split1/1/feats.scp ERROR (apply-cmvn[5.5.971~1-07043]:SequentialTableReader():util/kaldi-table-inl.h:860) Error constructing TableReader: rspecifier is scp:data/train/split1/1/feats.scp

[ Stack-Trace: ] apply-cmvn(kaldi::MessageLogger::LogMessage() const+0x707) [0x55579c0a1e5b] apply-cmvn(kaldi::MessageLogger::LogAndThrow::operator=(kaldi::MessageLogger const&)+0x25) [0x55579c011b8d] apply-cmvn(kaldi::SequentialTableReader<kaldi::KaldiObjectHolder<kaldi::Matrix > >::SequentialTableReader(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)+0xc4) [0x55579c01daac] apply-cmvn(main+0x621) [0x55579c0101ca] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xd5) [0x7f1dadd26565] apply-cmvn(_start+0x2e) [0x55579c00faee]

kaldi::KaldiFatalErrorERROR (feat-to-dim[5.5.971~1-07043]:main():feat-to-dim.cc:58) Could not read any features (empty archive?)

[ Stack-Trace: ] feat-to-dim(kaldi::MessageLogger::LogMessage() const+0x707) [0x559cbfc5efd3] feat-to-dim(kaldi::MessageLogger::LogAndThrow::operator=(kaldi::MessageLogger const&)+0x25) [0x559cbfbe14db] feat-to-dim(main+0x2e2) [0x559cbfbe0deb] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xd5) [0x7effbfbd0565] feat-to-dim(_start+0x2e) [0x559cbfbe0a4e]

kaldi::KaldiFatalErrorerror getting feature dimension

I'm running my dataset according to the script but I got an error. what is this error about

denialhaq commented 2 years ago

Hi, i have same issue here. do you already have direction?

KhawajaGamer commented 2 years ago

Hi, i have same issue here. do you already have direction?

Yes. Delete the folder (split1) and file (cmvn.scp and feat.scp) in train and test directory then run the script. Also make sure wav.scp file have correct directory location