Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError when Face swapping for video preset #67

Open
MarineBirch723 opened this issue Jul 24, 2021 · 3 comments
Open

FileNotFoundError when Face swapping for video preset #67

MarineBirch723 opened this issue Jul 24, 2021 · 3 comments

Comments

@MarineBirch723
Copy link

Traceback (most recent call last):
File "test_video_swapsingle.py", line 72, in
no_simswaplogo=opt.no_simswaplogo,use_mask=opt.use_mask)
File "C:\Users\Szabolcs\Documents\SimSwap-main\util\videoswap.py", line 55, in video_swap
net.load_state_dict(torch.load(save_pth))
File "C:\Users\Szabolcs.conda\envs\simswap\lib\site-packages\torch\serialization.py", line 579, in load
with _open_file_like(f, 'rb') as opened_file:
File "C:\Users\Szabolcs.conda\envs\simswap\lib\site-packages\torch\serialization.py", line 230, in _open_file_like
return _open_file(name_or_buffer, mode)
File "C:\Users\Szabolcs.conda\envs\simswap\lib\site-packages\torch\serialization.py", line 211, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: './parsing_model/checkpoint\79999_iter.pth'

@woctezuma
Copy link

woctezuma commented Jul 24, 2021

#14 (comment), #62

@MarineBirch723
Copy link
Author

This presents a new error

input mean and std: 127.5 127.5
find model: ./insightface_func/models\antelope\glintr100.onnx recognition
find model: ./insightface_func/models\antelope\scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Traceback (most recent call last):
File "test_video_swapsingle.py", line 50, in
img_a_align_crop, _ = app.get(img_a_whole,crop_size)
TypeError: 'NoneType' object is not iterable

@woctezuma
Copy link

#39, #44, #46, #53, #66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants