Closed rkinas closed 4 years ago
I found a solution and probably bug in code ...
file: detect.py
model_url = "http://folk.ntnu.no//haakohu/WIDERFace_DSFD_RES152.pth"
should be
model_url = "http://folk.ntnu.no/haakohu/WIDERFace_DSFD_RES152.pth"
works fine for me
Thanks for pointing out the error! Please notify me with any others you encounter, as I've only tested my code on macOS and ubuntu 16.04/18.04.
Error fixed with: https://github.com/hukkelas/DSFD-Pytorch-Inference/commit/36fda4eaf2e07d507c6ab4827edffdcf5d8dd1e7
I encountered probem with DSFDDetector creation (rest of detectors work without any problem) .. Any idea for fixing problem?
detector = face_detection.build_detector("DSFDDetector",confidence_threshold=.5, nms_iou_threshold=.3)
raises error
FileNotFoundError Traceback (most recent call last)