draw_scores IndexError
Thanks for this work on anonymization metrics!
I'm using it through the VoicePrivacy baseline and I have stepped upon a bug.
The compute_metrics.py
file very similar to the one on this repo is used in VPC is here.
Here is the error log:
Traceback (most recent call last):
File "compute_linkability.py", line 31, in <module>
draw_scores(matedScores, nonMatedScores, Dsys, D, bin_centers, bin_edges, output_file)
File "/srv/storage/talc@talc-data.nancy/multispeech/calcul/users/pchampion/lab/voice_privacy/eval_speaker_privacy_in_vc/tools/anonymization_metrics/performance.py", line 167, in draw_scores
ax.axvline(bin_centers[index[0][0]], color='k', linestyle='--')
IndexError: index 0 is out of bounds for axis 0 with size 0
This error is yield by this toolkit. But when I use another toolkit to compute a Cllr/min/ROCCH-EER score, I get a 0.000 score.
Attached in the zip, you will find the necessary files to reproduce this issue. (Just ./run.sh
!)
linka_bug.zip Best!