mike9251 / simswap-inference-pytorch

Unofficial Pytorch implementation (inference only) of the SimSwap: An Efficient Framework For High Fidelity Face Swapping
93 stars 20 forks source link

Added Try/Except To Catch Single Frame Failures #16

Closed AlexDalt closed 1 year ago

AlexDalt commented 1 year ago

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 :)

poepoeng commented 1 year ago

32 i have problem on that, try to add this code but video still cant generate . any solution ?