nesl / asvspoof2019

Our submission to the ASVspoof 2019: Automatic Speaker Verification Spoofing and Countermeasures Challenge
96 stars 40 forks source link

Key error in module data_utils #21

Open novicemm opened 2 years ago

novicemm commented 2 years ago

When I run "python model_main.py --num_epochs=100 --track=logical --features=mfcc --lr=0.00005", encounter an error like this :

File "/home/phyo/asvspoof_root/model_main.py", line 184, in dev_set = data_utils.ASVDataset(is_train=False, is_logical=is_logical, File "/home/phyo/asvspoof_root/data_utils.py", line 92, in init self.files_meta = self.parse_protocols_file(self.protocols_fname) File "/home/phyo/asvspoof_root/data_utils.py", line 154, in parse_protocols_file return list(files_meta File "/home/phyo/asvspoof_root/data_utils.py", line 148, in _parse_line sys_id=self.sysid_dict[tokens[3]],

KeyError: 'A01'

Please kindly guide me how to solve it. Thanks in advance.

skw517 commented 1 year ago

I am dealing with the same problem when I run python model_main.py --model_path=C:\nesl\asvspoof2019\sample_model\MFCC\mfcc_logical.pth --eval --eval_output='scores.txt'

Did you solve the problem? Thank you

chesser-y commented 8 months ago

I also encountered this issue, has the problem been solved?