SimSwap icon indicating copy to clipboard operation
SimSwap copied to clipboard

Error in docker with insightface

Open lamdar218 opened this issue 3 years ago • 1 comments

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

lamdar218 avatar Sep 26 '22 19:09 lamdar218

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.

Prsaro avatar Apr 08 '24 08:04 Prsaro