DCASE-REPO / DESED_task

Domestic environment sound event detection task
MIT License
126 stars 67 forks source link

problem when downloading the 'audioset_data' #14

Closed LittleFlyingSheep closed 3 years ago

LittleFlyingSheep commented 3 years ago

When I run 'generate_dcase_task4_2021.py --basedir='../../data'', it paused as shown as follows: image How can I make the downloading successfully?

turpaultn commented 3 years ago

🤔 Good question. If it is blocked here, it could be an internet connection. Did you try to remove the "tmp/" folder, sometimes it can cause problems ? Then, line 722 you could try and change: desed.download_audioset_data(desed_real_folder, n_jobs=3, chunk_size=10) by desed.download_audioset_data(desed_real_folder, n_jobs=1, chunk_size=10) and see if this works (could be a multiprocessing problem in that case). Let us know if something worked.

LittleFlyingSheep commented 3 years ago

Thanks for your help! With experiments, 'tmp/' folder and the multiprocessing work are not the reason of this problem. The reason is the internet connection. I have tested to download with a VPN. However, it is interesting that the work still failed in my ubuntu system but successfully in my windows one. Maybe it is an agency problem when the project calling in a ubuntu system?

turpaultn commented 3 years ago

This is weird indeed, I honestly have no idea where it can come from 🤔 Maybe firewall or anything like that, I don't even know if this could be from youtube_dl which would be different on your different systems...

turpaultn commented 3 years ago

Closing this issue since it works on one system, if someone has the same problem, feel free to reopen.