Closed wesleyr36 closed 4 years ago
Hopefully i gave all that was needed
This is happening to me as well. I installed the spleeter-gpu through conda and I have set the model_dir to point to the 2stems-finetune model.
Hi @wesleyr36, I was able to fix the problem by editing the config file. Instead of having: "training_cache":"training_cache", "validation_cache":"validation_cache",
Try this: "training_cache":"cache/training", "validation_cache":"cache/validation",
If that doesn't work, then you can try to make sure your dependencies are the right version. I noticed that even though I installed the latest spleeter through Conda, it installed tensorflow 1.14.0. If your tensorflow or any other dependency doesn't match what is in the requirements.txt file, then install it by running a command like this:
pip install tensorflow==1.5.2
more generally: pip install [Package_Name]==<version#>
I'm now facing another problem though. I can now train a new model completely fine, but when I try to fine tune a model and have the model_dir point to the 2stems-finetune folder that is provided from the releases page, the training immediately exits. The output is: INFO:spleeter:Start model training INFO:splleter:Model training done
And the output is immediate, so I know no training has occurred. It's strange because I was able to fine-tune before, I did once about three weeks ago.
EDIT: Sorry about such a long post, but I fixed my issue. In my json file I had this line: "n_chunks_per_song":1, Once I removed it, and increased the train_max_size, it started working. Hope this can help anyone else
Thank you for the comment I will try it when I can
I have tried your solution and it seems to to be working Thank you for your help
Description
FileNotFoundError: [WinError 3] The system cannot find the path specified: '' when trying to train on custom dataset
Step to reproduce
Output
Environment
hi_config
{ "train_csv": "configs/hi_train.csv", "validation_csv": "configs/hi_validation.csv", "model_dir": "hi", "mix_name": "mix", "instrument_list": ["vocals", "piano", "drums", "bass", "other", "guitar"], "sample_rate":44100, "frame_length":4096, "frame_step":1024, "T":512, "F":1024, "n_channels":2, "separation_exponent":2, "mask_extension":"zeros", "learning_rate": 1e-4, "batch_size":4, "training_cache":"training_cache", "validation_cache":"validation_cache", "train_max_steps": 2500000, "throttle_secs":600, "random_seed":8, "save_checkpoints_steps":300, "save_summary_steps":5, "model":{ "type":"unet.softmax_unet", "params":{ "conv_activation":"ELU", "deconv_activation":"ELU" } } }
train and validation .cvs