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
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.