Open LONG520520 opened 3 years ago
parse_options.sh is a Kaldi utility script which you can find here: https://github.com/kaldi-asr/kaldi/blob/master/egs/wsj/s5/utils/parse_options.sh
Quick fix:
Create parse_options.sh
under sc_utils
and paste the contents of https://github.com/kaldi-asr/kaldi/blob/master/egs/wsj/s5/utils/parse_options.sh
This should be sufficient to run run_demo_clustering.sh
hello: Hello, I encountered a problem when running this code. Here is the situation: (env_nmesc) root@9cbf99057050:/data/Auto-Tuning-Spectral-Clustering# ./run_demo_clustering.sh === [INFO] The python_envfolder exists: /data/Auto-Tuning-Spectral-Clustering/env_nmesc /data/Auto-Tuning-Spectral-Clustering/env_nmesc/bin/python /data/Auto-Tuning-Spectral-Clustering/sc_utils /data/Auto-Tuning-Spectral-Clustering === [INFO] Starting Script: affinity_score.py ./score_embedding.sh --cmd run.pl --mem 5G --python_env /data/Auto-Tuning-Spectral-Clustering/envnmesc/bin/activate --nj 1 --score metric cos --out_dir /data/Auto-Tuning-Spectral-Clustering/sample_CH_xvector/cos_scores /data/Auto-Tuning-Spectral-Clustering/sample _CH_xvector/xvector_embeddings /data/Auto-Tuning-Spectral-Clustering/sample_CH_xvector/cos_scores ./score_embedding.sh: line 28: parse_options.sh: No such file or directory
How to solve it?