lukewys / dcase_2020_T6

2nd place solution for 2020 DCASE challenge task 6 audio captioning. http://dcase.community/challenge2020/task-automatic-audio-captioning-results#wuyusong2020_t6
22 stars 5 forks source link

error _ModuleNotFoundError: No module named 'data_handlers'_ #1

Closed jiminbot20 closed 4 years ago

jiminbot20 commented 4 years ago

During running instruction

Run main.py to create dataset and extract features under current directory. Result folders would be data_splits, data_splits_audio and pickles.

occurs error _ModuleNotFoundError: No module named 'datahandlers'

I think 'data_handling' should be changed to 'data_handlers'

jiminbot20 commented 4 years ago

also error occurs even after change like above _ModuleNotFoundError: No module named 'data_handlers.clotholoader'

In this error, I think 'clotho_data_loader.py' should be changed into 'clotho_loader.py'

jiminbot20 commented 4 years ago

also audio is not splitting is not working I think this would be also naming problem.

FileNotFoundError: [Errno 2] No such file or directory: 'data/data_splits_audio/development'

confusing between 'data_splits_audio' and 'data_splits'

jiminbot20 commented 4 years ago

Then, run creat_test_set.py to create test set under current directory. Result folder would be test_data.

this part also doesn't work. Create test data in multiprocess: 0it [00:00, ?it/s] Test data created. after running this code, there is no any wav file in 'clotho_test_audio' folder

lukewys commented 4 years ago

Hi @jiminbot20, please find the newest update where I fixed the error. Very sorry about that. The naming of 'data_splits_audio' and 'data_splits' is used in the official code of Clotho dataset, where 'data_splits_audio' means the data containing raw audio, and data_splits means the data with spectrograms. Also please find an updated ReadME where you need to setup coco_caption before running the training.

jiminbot20 commented 4 years ago

Thank you for quick reply. I am currently studying all audio captioning DCASE2020 winning studies. Your study is a huge help to me.

lukewys commented 4 years ago

No problem. Thank you for your interested in our study. I'm closing this issue.