I was having a problem where sometimes the face swapping would fail on a single frame and terminate the whole video (similar to https://github.com/mike9251/simswap-inference-pytorch/issues/2). I added a try/except to keep execution rolling when these edge cases happen.
I was having a problem where sometimes the face swapping would fail on a single frame and terminate the whole video (similar to https://github.com/mike9251/simswap-inference-pytorch/issues/2). I added a try/except to keep execution rolling when these edge cases happen.
Thought it might be useful to everyone else :)