tango4j / Auto-Tuning-Spectral-Clustering

This repo is for the SPL paper "Auto-Tuning Spectral Clustering for Speaker Diarization Using Normalized Maximum Eigengap"
MIT License
112 stars 15 forks source link

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

Open LONG520520 opened 3 years ago

LONG520520 commented 3 years ago

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?

desh2608 commented 2 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

Ayush-TCIN commented 1 year ago

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