Vall-E Backend Training: RuntimeError: Failed to find any .qnt.pt file in specified training dataset. #343

Closed
opened 2023-08-24 13:52:50 +00:00 by Bluebomber182 · 4 comments

Under the web ui, I get this error when I try training a model
RuntimeError: Failed to find any .qnt.pt file in specified training dataset.
The .qnt.pt files are located in this directory
/ai-voice-cloning/training/valle/data/voice/

Under the web ui, I get this error when I try training a model `RuntimeError: Failed to find any .qnt.pt file in specified training dataset.` The .qnt.pt files are located in this directory `/ai-voice-cloning/training/valle/data/voice/`
Author

I put the .qnt.pt files under this directory.
/ai-voice-cloning/training/voice/valle/data/voice/
Now I get this error

path for path in paths if _validate(path, self.min_phones, self.max_phones, self.min_duration, self.max_duration)
  File "/home/user/ai-voice-cloning/modules/vall-e/vall_e/data.py", line 106, in _validate
    phones = _get_phones(path)
  File "/home/user/ai-voice-cloning/modules/vall-e/vall_e/data.py", line 72, in _get_phones
    return ["<s>"] + [ " " if not p else p for p in split ] + ["</s>"]
NameError: name 'split' is not defined
[2023-08-24 06:51:11,801] [INFO] [launch.py:315:sigkill_handler] Killing subprocess 1340
[2023-08-24 06:51:11,801] [ERROR] [launch.py:321:sigkill_handler] ['/home/user/ai-voice-cloning/venv/bin/python3.10', '-u', '-m', 'vall_e.train', '--local_rank=0', 'yaml=./training/voice/config.yaml'] exits with return code = 1
I put the .qnt.pt files under this directory. `/ai-voice-cloning/training/voice/valle/data/voice/` Now I get this error ``` path for path in paths if _validate(path, self.min_phones, self.max_phones, self.min_duration, self.max_duration) File "/home/user/ai-voice-cloning/modules/vall-e/vall_e/data.py", line 106, in _validate phones = _get_phones(path) File "/home/user/ai-voice-cloning/modules/vall-e/vall_e/data.py", line 72, in _get_phones return ["<s>"] + [ " " if not p else p for p in split ] + ["</s>"] NameError: name 'split' is not defined [2023-08-24 06:51:11,801] [INFO] [launch.py:315:sigkill_handler] Killing subprocess 1340 [2023-08-24 06:51:11,801] [ERROR] [launch.py:321:sigkill_handler] ['/home/user/ai-voice-cloning/venv/bin/python3.10', '-u', '-m', 'vall_e.train', '--local_rank=0', 'yaml=./training/voice/config.yaml'] exits with return code = 1 ```
Owner

What a silly oversight. Fixed in commit 5873c27f.

What a silly oversight. Fixed in commit [`5873c27f`](https://git.ecker.tech/mrq/vall-e/commit/5873c27f1ad2094b42489401ad961bbc8c8b7ffb).
Author

I get this error now.

    train_dataset, val_dataset = create_datasets()
  File "/home/user/ai-voice-cloning/modules/vall-e/vall_e/data.py", line 601, in create_datasets
    train_dataset = Dataset(
  File "/home/user/ai-voice-cloning/modules/vall-e/vall_e/data.py", line 141, in __init__
    self.spkr_symmap = spkr_symmap or self._get_spkr_symmap()
NameError: name 'spkr_symmap' is not defined
[2023-08-24 07:58:42,921] [INFO] [launch.py:315:sigkill_handler] Killing subprocess 10048
[2023-08-24 07:58:42,921] [ERROR] [launch.py:321:sigkill_handler] ['/home/user/ai-voice-cloning/venv/bin/python3.10', '-u', '-m', 'vall_e.train', '--local_rank=0', 'yaml=./training/Merida/config.yaml'] exits with return code = 1
I get this error now. ``` train_dataset, val_dataset = create_datasets() File "/home/user/ai-voice-cloning/modules/vall-e/vall_e/data.py", line 601, in create_datasets train_dataset = Dataset( File "/home/user/ai-voice-cloning/modules/vall-e/vall_e/data.py", line 141, in __init__ self.spkr_symmap = spkr_symmap or self._get_spkr_symmap() NameError: name 'spkr_symmap' is not defined [2023-08-24 07:58:42,921] [INFO] [launch.py:315:sigkill_handler] Killing subprocess 10048 [2023-08-24 07:58:42,921] [ERROR] [launch.py:321:sigkill_handler] ['/home/user/ai-voice-cloning/venv/bin/python3.10', '-u', '-m', 'vall_e.train', '--local_rank=0', 'yaml=./training/Merida/config.yaml'] exits with return code = 1 ```
Owner

Fixed in commit 22904a86

Fixed in commit [`22904a86`](https://git.ecker.tech/mrq/vall-e/commit/22904a86396867f4d4bffbd49ca3062903ad51d3)
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mrq/ai-voice-cloning#343
No description provided.