Closed yuyq96 closed 3 years ago
Hi,
I'm trying to train my model based on recipe/voxcelebSRC, but I had a problem at the scoring stage.
In gather_results_from_epochs.sh, $enroll_cohort_name.score equals:
gather_results_from_epochs.sh
$enroll_cohort_name.score
cosine_voxceleb1_O_enroll_voxceleb2_dev_submean_norm_voxceleb2_dev.score
But the generated score file appears to be:
cosine_voxceleb1_O_enroll_voxceleb2_devspk_xvector_submean_norm_mean_voxceleb2_dev.score
Looks like get_params_for_score() in score.sh failed to generate the correct $suffix:
get_params_for_score()
score.sh
$suffix
final_file=spk_xvector_submean_norm_mean.ark input_name=xvector suffix=$(echo ${final_file%.*} | sed 's/^'"$inputname"'//g;'s/spk_xvector_mean//g'')
It only removes continuous spk_xvector_mean but is not functional for spk_xvector***_mean.
spk_xvector_mean
spk_xvector***_mean
Best regards, Ya-Qi Yu
This new command seems to work:
suffix=$(echo ${final_file%.*} | sed 's/^'"$inputname"'//g;s/spk_xvector\(.*\)_mean/\1/g')
Hi,
I'm trying to train my model based on recipe/voxcelebSRC, but I had a problem at the scoring stage.
In
gather_results_from_epochs.sh
,$enroll_cohort_name.score
equals:But the generated score file appears to be:
Looks like
get_params_for_score()
inscore.sh
failed to generate the correct$suffix
:It only removes continuous
spk_xvector_mean
but is not functional forspk_xvector***_mean
.Best regards, Ya-Qi Yu