mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Another fix
This commit is contained in:
@ -493,6 +493,7 @@ void correct_region_boxes(detection *dets, int n, int w, int h, int netw, int ne
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
void get_region_detections(layer l, int w, int h, int netw, int neth, float thresh, int *map, float tree_thresh, int relative, detection *dets)
|
||||
{
|
||||
int i, j, n, z;
|
||||
@ -568,4 +569,5 @@ void get_region_detections(layer l, int w, int h, int netw, int neth, float thre
|
||||
}
|
||||
}
|
||||
correct_region_boxes(dets, l.w*l.h*l.n, w, h, netw, neth, relative);
|
||||
}
|
||||
}
|
||||
*/
|
@ -11,7 +11,7 @@ void forward_region_layer(const region_layer l, network_state state);
|
||||
void backward_region_layer(const region_layer l, network_state state);
|
||||
void get_region_boxes(layer l, int w, int h, float thresh, float **probs, box *boxes, int only_objectness, int *map);
|
||||
void resize_region_layer(layer *l, int w, int h);
|
||||
void get_region_detections(layer l, int w, int h, int netw, int neth, float thresh, int *map, float tree_thresh, int relative, detection *dets);
|
||||
//void get_region_detections(layer l, int w, int h, int netw, int neth, float thresh, int *map, float tree_thresh, int relative, detection *dets);
|
||||
|
||||
#ifdef GPU
|
||||
void forward_region_layer_gpu(const region_layer l, network_state state);
|
||||
|
Reference in New Issue
Block a user