THRESHOLD ERROR #139
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi, i am geting this error.
Anyone knows how to fix it?
Many thanks in advance
Traceback (most recent call last):
File "test_video_swapspecific.py", line 50, in
img_a_align_crop, _ = app.get(img_a_whole,crop_size)
File "H:\faceswap\insightface_func\face_detect_crop_multi.py", line 55, in get
bboxes, kpss = self.det_model.detect(img,
TypeError: detect() got an unexpected keyword argument 'threshold'
The version of your insightface is too high. Try to uninstall to insightface and use pip install insightface==0.2.1 to reinstall it ,
OK. Many thanks
Have a nice day.
For info, there is an issue with version 0.2.1 now.
Related:
I can fix this with: