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)
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