faceswap.py train: error: the following arguments are required: -m/--model-dir

If training is failing to start, and you are not receiving an error message telling you what to do, tell us about it here


Forum rules

Read the FAQs and search the forum before posting a new topic.

This forum is for reporting errors with the Training process. If you want to get tips, or better understand the Training process, then you should look in the Training Discussion forum.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
dingdong420
Posts: 7
Joined: Sat Dec 21, 2019 3:43 am

faceswap.py train: error: the following arguments are required: -m/--model-dir

Post by dingdong420 »

Hello,

I am attempting to train and I am getting the following error.

faceswap.py train: error: the following arguments are required: -m/--model-dir

And at the bottom of the Faceswap app window it says:

Status: Failed - train.py. Return Code 2

Let me know if I need to provide any other info.

Thank you in advance!

User avatar
torzdf
Posts: 2672
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 131 times
Been thanked: 625 times

Re: error help

Post by torzdf »

Assuming you are in the GUI then it is telling you that you need to provide a location for the "Model Dir" field (ie: where the model will be saved)

My word is final

User avatar
dingdong420
Posts: 7
Joined: Sat Dec 21, 2019 3:43 am

Re: error help

Post by dingdong420 »

That was it! Thank you!

Locked