Not sure what to do with pretraining set and syntax errors result when trying to run any of the scripts #325

Open
opened 2022-10-02 23:00:53 +02:00 by CarbonPython · 0 comments
CarbonPython commented 2022-10-02 23:00:53 +02:00 (Migrated from github.com)

First: I have no idea what I am doing but I am very good at following tutorials. The most recent ones do not seem to match with the current build?

What do I do with the pretraining .tar file?
I have done everything else, I think, correctly.

When trying to execute: python test_wholeimage_swapsingle.py --crop_size 224 --use_mask --name people --Arc_path arcface_model/arcface_checkpoint.tar --pic_a_path ./demo_file/TESTsource1.jpg --pic_b_path ./demo_file/TESTdestination1.jpg --output_path ./output/RESULTtest1

I get:

File "test_wholeimage_swapsingle.py", line 10, in
import cv2
File "C:\Users\Me.conda\envs\simswap\lib\site-packages\cv2_init_.py", line 11, in
import numpy
File "C:\Users\Me.conda\envs\simswap\lib\site-packages\numpy_init_.py", line 124, in
from numpy.config import show as show_config
File "C:\Users\Me.conda\envs\simswap\lib\site-packages\numpy_config_.py", line 18


I'm in pretty deep into this but I have no idea what to try next?

First: I have no idea what I am doing but I am very good at following tutorials. The most recent ones do not seem to match with the current build? What do I do with the pretraining .tar file? I have done everything else, I think, correctly. When trying to execute: python test_wholeimage_swapsingle.py --crop_size 224 --use_mask --name people --Arc_path arcface_model/arcface_checkpoint.tar --pic_a_path ./demo_file/TESTsource1.jpg --pic_b_path ./demo_file/TESTdestination1.jpg --output_path ./output/RESULTtest1 I get: File "test_wholeimage_swapsingle.py", line 10, in <module> import cv2 File "C:\Users\Me\.conda\envs\simswap\lib\site-packages\cv2\__init__.py", line 11, in <module> import numpy File "C:\Users\Me\.conda\envs\simswap\lib\site-packages\numpy\__init__.py", line 124, in <module> from numpy.__config__ import show as show_config File "C:\Users\Me\.conda\envs\simswap\lib\site-packages\numpy\__config__.py", line 18 _____________________ I'm in pretty deep into this but I have no idea what to try next?
Sign in to join this conversation.