build/darknet/x64/darknet.py
@@ -235,7 +235,7 @@ if debug: print("Assigned pnum") predict_image(net, im) if debug: print("did prediction") dets = get_network_boxes(net, im.w, im.h, thresh, hier_thresh, None, 0, pnum, 1) dets = get_network_boxes(net, im.w, im.h, thresh, hier_thresh, None, 0, pnum, 0) if debug: print("Got dets") num = pnum[0] if debug: print("got zeroth index of pnum")