Closed danstowell closed 6 years ago
Your error is not very meaningful for me at that time. I suggest two things: 1) It can come from multiprocessing package, so could you change: In Dataset_dcase2018.py, line 121 n_jobs=3 to n_jobs=1 please ? 2) It seems to come from unlabel_out_of_domain data in particular, did you have the same error on an other file ? If no, can you launch download_data.py (in "dataset" folder) commenting lines from 218 to 221 in the main please?
Thanks.
n_jobs=1
the same 'res_type'
error happens (but of course the backtrace looks different since no multiprocessing)download_data.py
it completes happily. Here's a strange thing though: if I comment out 203-217 (i.e. only downloading that last dataset) it does not crash after item 10. (It's currently still downloading that dataset. I'll let you know if it completes.)AHA I found the source of the error message: it's because my version of librosa is too old. I have 0.5.1 but librosa.load() added the res_type
argument in 0.6. I'll check tomorrow whether the script completes, and I'll let you know.
Thanks for your complete answer. Did the version of librosa solve the issue ? In both cases, I should probably add the version of librosa in the readme.
There was apparently incorrect librosa version in the requirements of dcase_util. This will be fix in the next pip release in a couple of days. For now best option is to add it to the readme.
Updating librosa fixes this issue
Closing this issue, since the fix is in https://github.com/DCASE-REPO/dcase_util/commit/ab8b537ce3e7dc02f697b4bbebd3c9c1ac0e8735
Task 4 - now I'm trying with Python 3.5, using virtualenv. (I don't use conda on my machine, and I won't be installing it any time soon, so I'm doing it all via pip and venv.) I'm afraid I get a rather confusing error, at least it has a backtrace this time: