Simswap 512 (beta version) rendering #198
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
with Simswap 512 ( mode ffhq ) face swap running without error but face not swapped
and shown as in image
and also with use_mask dont change result, generate similar image
I have the same problem
Help please
Inten i9 rtx 3060 ti
Did you download 79999_iter.pth from preparation and place it in the correct destination? I believe you have made an error getting the dependencies and the folders into their proper location. Or you have altered something in reverse2original.py accidentally. Go through the preparation and confirm that you guys have all the files.
Yes these are ( path + file ) correct . If not rises an error something not found... and not produce a output.
There is no error and produce a image shown in image above
i dont change anything at "reverse2original.py"
Is this only happening with 512? Because it seems like one of the files is either missing or corrupted. Where did you put the 512 folder?
SimSwap/checkpoints/512/550000_net_G.pth
Hey, if you can, please take a picture of the exact filepath while inside the folder. It is definitely a small mistake that has been made somewhere. Have you tried removing it and downloading it again? Also what version of Pytorch are you using?
there is no filepath error
if so program rises
i dont think model is corrupt during download .
downloaded file is zip . if corrupted we dont extracted file
redownloaded and try same result
remaining Pytroch version :
my version is 1.10.1
but Normal version of model is worked as expected
only difference during execution
Normal
Check #162, it helped me
@vladosShikos thanks
solves problem it worked

within create model
call
model.initialize(opt)01a8d6d0a6/models/models.py (L18)this function
050ed8a00a/models/fs_model.py (L45)within this function "opt.crop_size" used so
setting opt.crop_size before solves problem
Interesting.
To clarify for people who are confused about this issue: this happens in a Colab notebook if you edit an official one such as this one.
In the following piece of code:
You might be tempted by edit this line:
to:
and you should NOT!
Instead, you want to set
opt.crop_sizeto the non-default value (512 instead of the default value of 224):and keep the aforementioned line: