Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simswap colab problem error #482

Open
planettich opened this issue Jan 30, 2025 · 1 comment
Open

Simswap colab problem error #482

planettich opened this issue Jan 30, 2025 · 1 comment

Comments

@planettich
Copy link

Hi guys, in the Simswap colab I get this problem at the end, does anyone know what to do? Many thanks to anyone who can answer me

AssertionError Traceback (most recent call last)

in <cell line: 0>()
17 model.eval()
18
---> 19 app = Face_detect_crop(name='antelope', root='./insightface_func/models')
20 app.prepare(ctx_id= 0, det_thresh=0.6, det_size=(640,640))
21

/content/SimSwap/insightface_func/face_detect_crop_multi.py in init(self, name, root)
45 print('duplicated model task type, ignore:', onnx_file, model.taskname)
46 del model
---> 47 assert 'detection' in self.models
48 self.det_model = self.models['detection']
49

AssertionError:

Image

@JiaMengHuo
Copy link

Hello, is the problem solved ? I have the same problem, if it is solved, please advise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants