vall-e icon indicating copy to clipboard operation
vall-e copied to clipboard

Getting "No valid path is found for training". Using WSL + followed the Collab

Open ghost opened this issue 2 years ago • 7 comments

python3 -m vall_e.train yaml=config/test/ar.yml 1it [00:00, 207.85it/s] Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/home/varunmayya/.local/lib/python3.10/site-packages/vall_e/train.py", line 128, in main() File "/home/varunmayya/.local/lib/python3.10/site-packages/vall_e/train.py", line 33, in main train_dl, subtrain_dl, val_dl = create_train_val_dataloader() File "/home/varunmayya/.local/lib/python3.10/site-packages/vall_e/data.py", line 266, in create_train_val_dataloader train_dataset, val_dataset = create_datasets() File "/home/varunmayya/.local/lib/python3.10/site-packages/vall_e/data.py", line 247, in create_datasets train_dataset = VALLEDatset( File "/home/varunmayya/.local/lib/python3.10/site-packages/vall_e/data.py", line 105, in init raise ValueError("No valid path is found for training.") ValueError: No valid path is found for training.

ghost avatar Jan 23 '23 19:01 ghost

Hi @varunmayya

  1. Use cd to navigate to the project folder /vall-e
  2. Check the data_dirs key in the config file config/test/ar.yml. Does it point to the same folder of your dataset?

OrjwanZaafarani avatar Jan 24 '23 14:01 OrjwanZaafarani

Still doesn't work. This is my folder structure:

vall-e config > test data > test logs

MY AR file's first line is: data_dirs: [data/test]

ghost avatar Jan 24 '23 15:01 ghost

Did you change the audios in test foder? You need to have a pair to train/valid sets.

finardi avatar Jan 24 '23 20:01 finardi

No I didn't, it's the default

ghost avatar Jan 25 '23 10:01 ghost

here's my setup, still doens't work

image

image

image

image

ghost avatar Jan 25 '23 11:01 ghost

The command I'm using: python3 -m vall_e.train yaml=config/second/ar.yml

ghost avatar Jan 25 '23 11:01 ghost

[data/test] should be [data/second]

OrjwanZaafarani avatar Jan 26 '23 14:01 OrjwanZaafarani