Page 1 of 1

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

Posted: Wed Dec 28, 2022 12:19 am
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!


Re: error help

Posted: Sat Dec 31, 2022 2:41 pm
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)


Re: error help

Posted: Sat Dec 31, 2022 4:14 pm
by dingdong420

That was it! Thank you!