Open maximilianmozes opened 5 years ago
During validation, ObjectDetector.nms_boxes returns None if “nothing was detected“ (line 402 in lib/object_detector.py). This yields a TypeError in ObjectDetector.forward when unrolling the returned objects (line 308 in lib/object_detector.py).
ObjectDetector.nms_boxes
None
lib/object_detector.py
ObjectDetector.forward
thanks, but after your fix, in res_model.py, meet this error. if result.is_none(): return ValueError("heck")
During validation,
ObjectDetector.nms_boxes
returnsNone
if “nothing was detected“ (line 402 inlib/object_detector.py
). This yields a TypeError inObjectDetector.forward
when unrolling the returned objects (line 308 inlib/object_detector.py
).