src/parser.c
@@ -165,7 +165,8 @@ int coords = option_find_int(options, "coords", 1); int classes = option_find_int(options, "classes", 1); int rescore = option_find_int(options, "rescore", 1); detection_layer *layer = make_detection_layer(params.batch, params.inputs, classes, coords, rescore); int background = option_find_int(options, "background", 1); detection_layer *layer = make_detection_layer(params.batch, params.inputs, classes, coords, rescore, background); option_unused(options); return layer; }