FaceDetection-DSFD
FaceDetection-DSFD copied to clipboard
ImportError: cannot import name 'pa_sfd_match'
Hi Team,
I tried to follow your doc: https://github.com/Tencent/FaceDetection-DSFD
and when i run demo.py and got the following error:
Traceback (most recent call last):
File "demo.py", line 27, in
I've installed torch
I am also having the same issue. Please let me know if you figured it out.
Hi all, I am facing the same error. Could you please share a solution if you had an answer.
Thank you very much
I found the issue, go to multibox_loss where the library was imported and just remove the pa_sfd_match from the line from ..box_utils import (log_sum_exp, match, pa_sfd_match, refine_match, where it is imported because it does not seem to be used and does not exist in boxutils. Everything then works for me without error
This issue may be closed now as I believe the problem has been solved @ncthong
thanks guys, I have solved the problem in the way of @hypadr1v3.
You are very welcome. Although it is strange that this function is not called or mentioned anywhere else apart from the import statement.