jeonchangbin49 / De-limiter

An official repository of "Music De-limiter Networks via Sample-wise Gain Inversion", which will be presented in WASPAA 2023.
MIT License
67 stars 3 forks source link

about save_musdb_XL_train_wave.py of Musdb-XL-train #1

Open will46616 opened 1 week ago

will46616 commented 1 week ago

Hi, I've followed the instruction of Musdb-XL-train website, but I got some mismatches between ratio from npy file and musdb_hq dataset. File "/home3/will/save_musdb_XL_train_wave.py", line 72, in main output = mixture * ratio ValueError: operands could not be broadcast together with shapes (2,10053632) (2,10061547)

jeonchangbin49 commented 1 week ago

Hi, it seems that there occurs a size mismatch problem between the audio and .npy files. Could you let me know which file caused the problem? Simple print("fixed_song") after line 58 will show you that.

will46616 commented 5 days ago

fixed_song ['The Districts - Vermont', '-5.16', '1.0'] (2, 10053632) (2, 10061547) 0%| | 0/100 [00:13<?, ?it/s] Traceback (most recent call last): File "/home3/will/save_musdb_XL_train_wave.py", line 147, in main() File "/home3/will/save_musdb_XL_train_wave.py", line 73, in main output = mixture * ratio ValueError: operands could not be broadcast together with shapes (2,10053632) (2,10061547)

Thank you for replying, the file is 'The Districts - Vermont'.

jeonchangbin49 commented 5 days ago

Hmm, it's weird. I think it's very unlikely that your 'The Districts - Vermont' and my 'The Districts - Vermont' have different lengths because it seems that there is only one version of musdb18-hq available in https://zenodo.org/records/3338373. I'll get back to you after I check the audio length maybe this weekend or next week. Let me know if you have more info regarding the problem.

will46616 commented 5 days ago

Thanks for your reply, I downloaded my MUSDB18-HQ dataset from the same URL. I will inform you if there is any other information.