Error in docker with insightface #324

Open
opened 2022-09-26 21:50:29 +02:00 by lamdar218 · 1 comment
lamdar218 commented 2022-09-26 21:50:29 +02:00 (Migrated from github.com)

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 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
Prsaro commented 2024-04-08 10:36:48 +02:00 (Migrated from github.com)

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.

I also met this error, that didn't because of docker. You should download the [antelope.zip ](https://onedrive.live.com/?authkey=%21ADJ0aAOSsc90neY&cid=4A83B6B633B029CC&id=4A83B6B633B029CC%215837&parId=4A83B6B633B029CC%215834&action=locate)model and put it into ./insightface_func/models.
Sign in to join this conversation.