SimSwap icon indicating copy to clipboard operation
SimSwap copied to clipboard

An arbitrary face-swapping framework on images and videos with one single trained model!

Results 211 SimSwap issues
Sort by recently updated
recently updated
newest added

I run the codes but getting the image with no face or blur flat face, attached is the image. please help in fixing it. thanks ![shawnblur](https://github.com/neuralchen/SimSwap/assets/103509563/bd1c83d6-f57b-4fba-b4c9-6e0e7274eaa0)

After managing to get it up and running, this is the result I get when I try test_video_swapsingle.py with the iron man face and demo video ![image](https://github.com/neuralchen/SimSwap/assets/133006543/252b074b-f0e6-4802-816a-bae2ec145f61)

(simswap) C:\SimSwap-main>cd\ (simswap) C:\SimSwap-main>cd simswap-main (simswap) C:\SimSwap-main>conda create -n simswap python=3.8 (simswap) C:\SimSwap-main>conda activate simswap (simswap) C:\SimSwap-main>set CMAKE_ARGS="-DONNX_USE_PROTOBUF_SHARED_LIBS=ON" (simswap) C:\SimSwap-main>conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia (simswap)...

![image](https://github.com/neuralchen/SimSwap/assets/5251294/a8ff7009-e210-4a63-8199-22d62dbf2f09) getting image like above when running !python test_one_image.py --name people --Arc_path arcface_model/arcface_checkpoint.tar --pic_a_path crop_224/6.jpg --pic_b_path crop_224/ds.jpg --output_path output/ no error but this msg ![image](https://github.com/neuralchen/SimSwap/assets/5251294/8504f0c9-ac4b-4ef5-9edc-488a5f3a3a57)

Traceback (most recent call last): File "/content/SimSwap/train.py", line 139, in model.initialize(opt) File "/content/SimSwap/models/projected_model.py", line 49, in initialize self.netArc = netArc_checkpoint['model'].module TypeError: 'ResNet' object is not subscriptable

I got the strange image when I ran this: python test_one_image.py --name people --Arc_path arcface_model/arcface_checkpoint.tar --pic_a_path crop_224/6.jpg --pic_b_path crop_224/ds.jpg --output_path output/ ![result](https://github.com/neuralchen/SimSwap/assets/104200736/3f40e76c-a998-4892-a909-7b2373584333) Here is the details: Don`t know the reason....

How do I use the model I trained? I have been training for days and now I read in some thread that the code doesn't work for models that we...

https://github.com/neuralchen/SimSwap/blob/main/train.py#L180 In this place, does the position of certain pictures not change? Would it be better to shift backwards x steps one by one;x=random.randint(0,batch_size-1).

Hi, I am an absolute nomad with coding and these kind of programs. I followed all the directions and installed the software using anaconda. When I try to execute my...