Error

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
gwyneth4320
Posts: 7
Joined: Sun Sep 27, 2020 8:13 pm
Has thanked: 5 times

Error

Post by gwyneth4320 »

OSError: Unable to create file (unable to open file: name = 'C:\Users\xxxxx\OneDrive\Desktop\Faceswap\ModelFaceAB\original.h5', errno = 13, error message = 'Permission denied', flags = 13, o_flags = 302)

Help! What does this mean?

User avatar
bryanlyon
Site Admin
Posts: 793
Joined: Fri Jul 12, 2019 12:49 am
Answers: 44
Location: San Francisco
Has thanked: 4 times
Been thanked: 218 times
Contact:

Re: Error

Post by bryanlyon »

This is a permission problem from your OS and not the fault of Faceswap.

In every situation it's been one of the following:

Lack of permissions on the folder selected.
The Folder doesn't exist and can't be created.
A Space in the folder/file name.
Foreign Characters in the folder/file name.
An invalid path for the folder/filename.
Antivirus or other security software blocking access to the file

Basically, Faceswap can't read or create the file so it fails. Find why it can't create the file and things will work fine.

Locked