SimSwap icon indicating copy to clipboard operation
SimSwap copied to clipboard

Simswap colab problem error

Open planettich opened this issue 9 months ago • 1 comments

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

planettich avatar Jan 30 '25 10:01 planettich