mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
stuff
This commit is contained in:
@@ -279,7 +279,7 @@ void test_classifier(char *datacfg, char *cfgfile, char *weightfile, char *filen
|
|||||||
|
|
||||||
int i;
|
int i;
|
||||||
if (target_layer >= 0){
|
if (target_layer >= 0){
|
||||||
//layer l = net.layers[target_layer];
|
layer l = net.layers[target_layer];
|
||||||
}
|
}
|
||||||
|
|
||||||
for(i = 0; i < val.X.rows; ++i){
|
for(i = 0; i < val.X.rows; ++i){
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ void *detect_in_thread(void *ptr)
|
|||||||
printf("\033[1;1H");
|
printf("\033[1;1H");
|
||||||
printf("\nFPS:%.0f\n",fps);
|
printf("\nFPS:%.0f\n",fps);
|
||||||
printf("Objects:\n\n");
|
printf("Objects:\n\n");
|
||||||
draw_detections(det, l.side*l.side*l.n, thresh, boxes, probs, voc_names, 0, 20);
|
draw_detections(det, l.side*l.side*l.n, thresh, boxes, probs, voc_names, voc_labels, 20);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user