Auto-Tuning-Spectral-Clustering icon indicating copy to clipboard operation
Auto-Tuning-Spectral-Clustering copied to clipboard

kaldi ./score_embedding.sh: line 28: parse_options.sh: No such file or directory

Open LONG520520 opened this issue 3 years ago • 2 comments

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/env_nmesc/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?

LONG520520 avatar Oct 08 '21 11:10 LONG520520

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

desh2608 avatar Jan 03 '22 04:01 desh2608

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

Ayush-TCIN avatar Dec 19 '22 08:12 Ayush-TCIN