Skip to content

Commit

Permalink
add params to compute_similarity_matrices_metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Natalia-T committed Sep 15, 2020
1 parent 363c91f commit 2d82e3b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,28 @@

set -e

set_test=$1
results=$2
#===== begin config =======

set_test=libri_test_trials_f
results=

anon_data_suffix=_anon
asv_eval_model=exp/models/asv_eval/xvect_01709_1
plda_dir=$asv_eval_model/xvect_train_clean_360

#=========== end config ===========

. utils/parse_options.sh

anon_data_suffix=_anon
osp_set_folder=$asv_eval_model/xvect_$set_test
psp_set_folder=${osp_set_folder}$anon_data_suffix
utt2spk=data/$set_test/utt2spk

printf "asv_eval_model = $asv_eval_model\n"
printf "set_test = $set_test\n"
printf "plda_dir = $plda_dir\n"
printf "results = $results\n"

exp_files_dir=$results/similarity_matrices_DeID_Gvd/$set_test/exp_files

if [ ! -d "$exp_files_dir" ]; then
Expand Down
2 changes: 1 addition & 1 deletion baseline/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ if [ $stage -le 15 ]; then
for suff in dev test; do
for data in libri_${suff}_trials_f libri_${suff}_trials_m vctk_${suff}_trials_f vctk_${suff}_trials_m vctk_${suff}_trials_f_common vctk_${suff}_trials_m_common; do
printf "${BLUE}\nStage 15: Compute the de-indentification and the voice-distinctiveness for $data${NC}\n"
local/similarity_matrices/compute_similarity_matrices_metrics.sh $data $results || exit 1;
local/similarity_matrices/compute_similarity_matrices_metrics.sh --asv_eval_model $asv_eval_model --plda_dir $plda_dir --set_test $data --results $results || exit 1;
done
done
fi
Expand Down

0 comments on commit 2d82e3b

Please sign in to comment.