music-source-separation
music-source-separation copied to clipboard
ValueError: Sample larger than population or is negative
File "train.py", line 95, in
I get this error on running train.py
Check config.py
, you need to modify the DATA_PATH
in TrainConfig
class.
Check
config.py
, you need to modify theDATA_PATH
inTrainConfig
class.
Dear,
How to correct the DATA_PATH with auther's dataset ?
Thx
Have you got any solutions yet ? What should we change to ?
hello every one, it means that number of your sample is larger than the file which you want to sample it, in this case that file name is 'wavfiles' in this source code
for solving this problem
just change this wavfiles = [] to wavfiles = ['address or directory of the wav file that you want to separate it'] in data.py file
have a good time.