Train.py Traceback Error #81

Closed
opened 2023-03-07 10:32:09 +00:00 by psyckosama · 2 comments
H:\AI-shit\Voice\ai-voice-cloning>call .\venv\Scripts\activate.bat
Traceback (most recent call last):
  File "H:\AI-shit\Voice\ai-voice-cloning\src\train.py", line 24, in <module>
    with open(args.opt, 'r') as file:
FileNotFoundError: [Errno 2] No such file or directory: ''
Press any key to continue . . .

I've updated CUDA, I've deleted and reinstalled the venv. I've run a forced update.

What am I missing?

``` H:\AI-shit\Voice\ai-voice-cloning>call .\venv\Scripts\activate.bat Traceback (most recent call last): File "H:\AI-shit\Voice\ai-voice-cloning\src\train.py", line 24, in <module> with open(args.opt, 'r') as file: FileNotFoundError: [Errno 2] No such file or directory: '' Press any key to continue . . . ``` I've updated CUDA, I've deleted and reinstalled the venv. I've run a forced update. What am I missing?

That line tries to load your training yaml file.
I assume you're launching train.bat
You have to pass the yaml file to train.bat
like this
train.bat "./training/yourvoice/train.yaml"

That line tries to load your training yaml file. I assume you're launching train.bat You have to pass the yaml file to train.bat like this `train.bat "./training/yourvoice/train.yaml"`
Owner

You shouldn't be running train.bat directly, it's meant to be ran through the web UI.

If you insist on running it directly, you should at least look at the arguments it takes.

You shouldn't be running `train.bat` directly, it's meant to be ran through the web UI. If you insist on running it directly, you should at least look at the arguments it takes.
mrq closed this issue 2023-03-07 13:25:39 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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#81
No description provided.