small_object can be used in [net] in cfg-file for objects 1x1 pix on FullHD image

This commit is contained in:
AlexeyAB
2018-03-30 14:32:41 +03:00
parent a7a2e1bb4b
commit 9fbd1936eb
5 changed files with 6 additions and 6 deletions

View File

@ -88,7 +88,7 @@ void train_detector(char *datacfg, char *cfgfile, char *weightfile, int *gpus, i
args.classes = classes;
args.jitter = jitter;
args.num_boxes = l.max_boxes;
args.small_object = l.small_object;
args.small_object = net.small_object;
args.d = &buffer;
args.type = DETECTION_DATA;
args.threads = 64; // 8