| | |
| | | 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); |
| | |
| | | l.coord_scale = option_find_float(options, "coord_scale", 1); |
| | | l.object_scale = option_find_float(options, "object_scale", 1); |
| | | l.noobject_scale = option_find_float(options, "noobject_scale", 1); |
| | | l.mask_scale = option_find_float(options, "mask_scale", 1); |
| | | l.class_scale = option_find_float(options, "class_scale", 1); |
| | | l.bias_match = option_find_int_quiet(options, "bias_match",0); |
| | | |
| | |
| | | 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); |