Add tp tests for yolo3512 and yolo3tiny512

Signed-off-by: Micaela Verucchi <micaelaverucchi@gmail.com>
This commit is contained in:
Micaela Verucchi
2020-03-26 15:06:49 +01:00
parent 3eda9b9219
commit 7c55dcb708
7 changed files with 1202 additions and 5 deletions
+7
View File
@@ -0,0 +1,7 @@
classes : 3 #number of classes
map_points : 101 #number of recall points (0 for all, 101 for COCO, 11 PascalVOC)
map_levels : 10 #number of IoU step for the AP
map_step : 0.05 #step of IoU
IoU_thresh : 0.5 #starting IoU threshold
conf_thresh : 0.0 #threshold on the condifence of the bbox
verbose : false #print on screen information
+3 -4
View File
@@ -42,10 +42,6 @@ int main(int argc, char *argv[])
int classes, map_points, map_levels;
float map_step, IoU_thresh, conf_thresh;
//read mAP parameters
readParams( config_filename, classes, map_points, map_levels, map_step,
IoU_thresh, conf_thresh, verbose);
if(argc > 1)
net = argv[1];
if(argc > 2)
@@ -62,6 +58,9 @@ int main(int argc, char *argv[])
if(!fileExist(labels_path))
FatalError("Wrong labels file path.");
//read mAP parameters
readParams( config_filename, classes, map_points, map_levels, map_step,
IoU_thresh, conf_thresh, verbose);
std::ofstream times;
if(write_res_on_file)