Should the training data folder contain spaces, train.py will interpret as arguments #14

Closed
opened 2023-02-20 18:43:57 +00:00 by Guns · 2 comments

Don't know if this is something that should be taken care of on the UX side of things, but if the training data folder/yaml contains spaces (for example "your mom" as opposed to "yourmom"), you will get the error:

train.py: error: unrecognized arguments: Your Mom/train.yaml

Maybe easily diagnosable for some, but amateurs might struggle.

Don't know if this is something that should be taken care of on the UX side of things, but if the training data folder/yaml contains spaces (for example "your mom" as opposed to "yourmom"), you will get the error: > train.py: error: unrecognized arguments: Your Mom/train.yaml Maybe easily diagnosable for some, but amateurs might struggle.
Owner

I had a gut feeling it was going to crop up. I'm not necessarily sure how, since I thought I took care in wrapping the proxied argument in "s, but I guess that's not good enough. I'll replicate the error and slap whatever fix I need.

I had a gut feeling it was going to crop up. I'm not necessarily sure how, since I thought I took care in wrapping the proxied argument in "s, but I guess that's not good enough. I'll replicate the error and slap whatever fix I need.
Owner

Remedied in bacac6daea. God only knows why Python splits arguments by spaces, regardless of wrapping it in quotes. I guess it makes sense why the issue only pops up there and nowhere else.

Remedied in bacac6daea94addb3807e3bde265685c2ce59766. God only knows why Python splits arguments by spaces, regardless of wrapping it in quotes. I guess it makes sense why the issue only pops up there and nowhere else.
mrq closed this issue 2023-02-20 20:27:08 +00:00
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#14
No description provided.