Error in docker with insightface #324
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.