Skip to content

Commit

Permalink
Disabling dafault NMS in yolo layer
Browse files Browse the repository at this point in the history
  • Loading branch information
l-bat committed Jun 19, 2020
1 parent cb54f4c commit 85c0c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dnn/src/darknet/darknet_io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ namespace cv {
int classes = getParam<int>(layer_params, "classes", -1);
int num_of_anchors = getParam<int>(layer_params, "num", -1);
float thresh = getParam<float>(layer_params, "thresh", 0.2);
float nms_threshold = getParam<float>(layer_params, "nms_threshold", 0.4);
float nms_threshold = getParam<float>(layer_params, "nms_threshold", 0.0);
float scale_x_y = getParam<float>(layer_params, "scale_x_y", 1.0);

std::string anchors_values = getParam<std::string>(layer_params, "anchors", std::string());
Expand Down

0 comments on commit 85c0c8c

Please sign in to comment.