mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
small_object can be used in [net] in cfg-file for objects 1x1 pix on FullHD image
This commit is contained in:
@ -311,7 +311,6 @@ layer parse_region(list *options, size_params params)
|
||||
l.log = option_find_int_quiet(options, "log", 0);
|
||||
l.sqrt = option_find_int_quiet(options, "sqrt", 0);
|
||||
|
||||
l.small_object = option_find_int_quiet(options, "small_object", 0);
|
||||
l.softmax = option_find_int(options, "softmax", 0);
|
||||
l.focal_loss = option_find_int_quiet(options, "focal_loss", 0);
|
||||
//l.max_boxes = option_find_int_quiet(options, "max",30);
|
||||
@ -622,6 +621,7 @@ void parse_net_options(list *options, network *net)
|
||||
net->max_crop = option_find_int_quiet(options, "max_crop",net->w*2);
|
||||
net->min_crop = option_find_int_quiet(options, "min_crop",net->w);
|
||||
|
||||
net->small_object = option_find_int_quiet(options, "small_object", 0);
|
||||
net->angle = option_find_float_quiet(options, "angle", 0);
|
||||
net->aspect = option_find_float_quiet(options, "aspect", 1);
|
||||
net->saturation = option_find_float_quiet(options, "saturation", 1);
|
||||
|
Reference in New Issue
Block a user