Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: No valid path is found for training. #93

Open
enorrmann opened this issue Apr 29, 2023 · 7 comments
Open

ValueError: No valid path is found for training. #93

enorrmann opened this issue Apr 29, 2023 · 7 comments

Comments

@enorrmann
Copy link

I followed the instructions for "test" folder
when I try to run

python -m vall_e.train yaml=config/test/ar.yml

running on linux and my files are
.
├── config
│   ├── LibriTTS
│   │   ├── ar-quarter.yml
│   │   ├── ar.yml
│   │   ├── nar-quarter.yml
│   │   └── nar.yml
│   └── test
│   ├── ar.yml
│   └── nar.yml
├── data
│   └── test
│   ├── test.normalized.txt
│   ├── test.phn.txt
│   ├── test.qnt.pt
│   └── test.wav

my ar.yml is

data_dirs: [data/test]

model: ar-quarter
batch_size: 1
eval_batch_size: 1
save_ckpt_every: 500
eval_every: 500
max_iter: 1000

@MSDNAndi
Copy link

I ran into the same problem. I needed to have two different pairs of files (.wav and .txt) to make it work.

@enorrmann
Copy link
Author

I ran into the same problem. I needed to have two different pairs of files (.wav and .txt) to make it work.

thank you that did the trick

@constan1
Copy link

Hello. What do you mean by two different pairs of files? I have the .qnt.pt and phon.txt and normalized.txt and wav files under my directory data/librosa

the config files are config/librosa with the ar.yml.

I ran into the same problem. I needed to have two different pairs of files (.wav and .txt) to make it work.

@Annoytanor
Copy link

Your phenome files need to have between 10 and 50 phonemes in them. Try using shorter audio clips, even 10 second clips can be too long.

@constan1
Copy link

Your phenome files need to have between 10 and 50 phonemes in them. Try using shorter audio clips, even 10 second clips can be too long.

My training samples are longer usually. I increased the max_phon = 5000. Would this reduce performance?

@kaaancan
Copy link

I figured out the issue after some debugging with the help of chatGPT. Its actually super stupid and simple 🤦
image

You need to provide 2 audio and 2 normalized.txt samples

@RinLovesYou
Copy link

I have provided two audio files and two normalized txt, i still get no valid path is found for training

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants