We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef60f09 commit 41a87c4Copy full SHA for 41a87c4
src/darknet/py/network.pyx
@@ -10,7 +10,7 @@ from .util import fsspec_cache_open
10
11
np.import_array()
12
13
-cdef convert_detections_to_tuples(dn.detection* detections, int num_dets, float nms_threshold, str nms_type):
+cdef convert_detections_to_tuples(dn.detection* detections, int num_dets, str nms_type, float nms_threshold):
14
if nms_threshold > 0 and num_dets > 0:
15
if nms_type == "obj":
16
dn.do_nms_obj(detections, num_dets, detections[0].classes, nms_threshold)
0 commit comments