/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:
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)
<ipython-input-9-46a887c84c9b> 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:

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.
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:
Hello, is the problem solved ? I have the same problem, if it is solved, please advise