Skip to content

ASR recognize script issues #176

@JustinMi

Description

@JustinMi

@MSimora I am having issues running the recognize script. I already ran path.sh, but the recognize.sh script still does not work. Any suggestions?

I am on MacOSX. Below is my invocation of the script and the resulting output.

$ . ./recognize.sh test/example-one.wav eng 
dyld: Library not loaded: /Users/justinmi/GDrive/Cal/Work/Autolab/malasakit-v1/kaldi/tools/openfst-1.6.5/lib/libfst.8.dylib
  Referenced from: /Users/justinmi/GDrive/Cal/Work/Autolab/pcari/malasakit-v1/kaldi/egs/malsakit-digits/../../src/featbin/copy-feats
  Reason: image not found
dyld: Library not loaded: /Users/justinmi/GDrive/Cal/Work/Autolab/malasakit-v1/kaldi/tools/openfst-1.6.5/lib/libfst.8.dylib
  Referenced from: /Users/justinmi/GDrive/Cal/Work/Autolab/pcari/malasakit-v1/kaldi/egs/malsakit-digits/../../src/featbin/compute-mfcc-feats
  Reason: image not found
Abort trap: 6
cat: mfcc/raw_mfcc_example-one.scp: No such file or directory
-bash: recognition/logs/gmm_latgen_example-one.log: No such file or directory
-bash: recognition/logs/lattice_best_path_example-one.log: No such file or directory
-bash: recognition/logs/lattice_to_fst_example-one.log: No such file or directory
dyld: Library not loaded: /Users/justinmi/GDrive/Cal/Work/Autolab/malasakit-v1/kaldi/tools/openfst-1.6.5/lib/libfstscript.8.dylib
  Referenced from: /Users/justinmi/GDrive/Cal/Work/Autolab/pcari/malasakit-v1/kaldi/egs/malsakit-digits/../../tools/openfst/bin/fstprint
  Reason: image not found
-bash: [: -gt: unary operator expected
Can't open recognition/one-best_example-one.tra: No such file or directory at utils/int2sym.pl line 57.

success!

audio file = test/example-one.wav
recognized word = 
recognized digit = err
confidence score = 1

(standard_in) 1: illegal character: N
(standard_in) 1: illegal character: N
-bash: soxi: command not found
(standard_in) 1: parse error
real time factor = 

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions