mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
🔥 ARE YOU NOT ENTERTAINED 🔥
This commit is contained in:
@ -63,7 +63,7 @@ void *detect_in_thread(void *ptr)
|
||||
if(l.type == DETECTION){
|
||||
get_detection_boxes(l, 1, 1, demo_thresh, probs, boxes, 0);
|
||||
} else if (l.type == REGION){
|
||||
get_region_boxes(l, 1, 1, demo_thresh, probs, boxes, 0);
|
||||
get_region_boxes(l, 1, 1, demo_thresh, probs, boxes, 0, 0);
|
||||
} else {
|
||||
error("Last layer must produce detections\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user