nesl / asvspoof2019

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

module 'data_utils' has no attribute 'ASVDataset' #11

Open maymay1982 opened 4 years ago

maymay1982 commented 4 years ago

When I run "python model_main.py --num_epochs=100 --track=logical --features=mfcc --lr=0.00005", encounter an error: File "model_main.py", line 184, in dev_set = data_utils.ASVDataset(is_train=False, is_logical=is_logical, AttributeError: module 'data_utils' has no attribute 'ASVDataset' How to solve it?

wangziqi000 commented 4 years ago

Hi, Please check whether your import lines are executed correctly. As you can see that ASVDataset is indeed a class defined data_utils.py.

maymay1982 commented 4 years ago

It's a pleasure to get your reply soon. Yes, I missed the data_utils.py when I copyed the project to another filefolder. And installed a data_utils module which I downloaded. Thanks a lot for your help.