SimSwap
SimSwap copied to clipboard
Error in docker with insightface
I tried to use the cog.yaml to build a docker container, and then run the scripts within the container. I managed to get the "Simple face swapping for already face-aligned images" working. However I'm having problem with face swaping for videos, or face swapping for arbitrary images.
The errors shown are File "/src/insightface_func/face_detect_crop_single.py", line 47, in init assert 'detection' in self.models AssertionError
I also met this error, that didn't because of docker. You should download the antelope.zip model and put it into ./insightface_func/models.