Training doesn't start

Installing and setting up FaceSwap
Forum rules
Read the FAQs and search the forum before posting a new topic.

Please mark any answers that fixed your problems so others can find the solutions.
Post Reply
User avatar
shirasaki
Posts: 3
Joined: Wed Feb 12, 2020 1:57 pm
Has thanked: 1 time

Training doesn't start

Post by shirasaki » Wed Feb 12, 2020 2:06 pm

Please help.

I understand almost no English.
So I use a translation software.
I'm a beginner about a programming.
↓I consulted this home page.
https://note.com/npaka/n/ndf6a45c72fcc
【My PC environment】
Mac OS Catalina
Intel Iris Plus Graphics
Anaconda3
Python 3.7.4
tensorflow 1.15.0
【I succeeded】
●Target faces was recognized and it was cut down by using OPEN CV.
●install faceswap file
●python faceswap.py -h →O.K
【I failed】
↓train
python faceswap.py train -A “folderA” -B “folderB” -m “folderC”/ -p
【Error message】
File "/opt/anaconda3/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

User avatar
bryanlyon
Site Admin
Posts: 197
Joined: Fri Jul 12, 2019 12:49 am
Answers: 19
Location: San Francisco
Has thanked: 3 times
Been thanked: 57 times
Contact:

Re: Training doesn't start

Post by bryanlyon » Wed Feb 12, 2020 4:01 pm

That page is not the correct way to install Faceswap.
Please look at this page: viewtopic.php?f=4&t=68

そのページはfaceswapインストールするを違います
このパージをみってください https://translate.google.com/translate? ... 4%26t%3D68

User avatar
shirasaki
Posts: 3
Joined: Wed Feb 12, 2020 1:57 pm
Has thanked: 1 time

Re: Training doesn't start

Post by shirasaki » Thu Feb 13, 2020 4:50 am

Thank you!!
Installation successful
I will challenge again

User avatar
shirasaki
Posts: 3
Joined: Wed Feb 12, 2020 1:57 pm
Has thanked: 1 time

Re: Training doesn't start

Post by shirasaki » Thu Feb 13, 2020 6:12 am

I tried again.
【I succeeded】
The abstraction which is a face using Faceswap
python faceswap.py extract -i “A” -o “B”
【I failed】
python faceswap.py train -A “A_face” -B “B_face” -m “model”/ -p
【Error Message】
Error #15: Initializing libiomp5.dylib, but found libiomp5.dylib already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.
【Outcome thing】
Attachment picture/model.jpg
https://38.gigafile.nu/0220-b1bc96b9d4f ... 2e5ef57c02

please help me

Post Reply