1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

Add missing parameter to DetectionOutput layer from Intel's Inference Engine

This commit is contained in:
Dmitry Kurtaev
2018-07-31 11:37:45 +03:00
parent 80cab4a163
commit ed0e79cb61
2 changed files with 4 additions and 6 deletions
@@ -919,6 +919,7 @@ public:
ieLayer->params["nms_threshold"] = format("%f", _nmsThreshold);
ieLayer->params["top_k"] = format("%d", _topK);
ieLayer->params["keep_top_k"] = format("%d", _keepTopK);
ieLayer->params["eta"] = "1.0";
ieLayer->params["confidence_threshold"] = format("%f", _confidenceThreshold);
ieLayer->params["variance_encoded_in_target"] = _varianceEncodedInTarget ? "1" : "0";
ieLayer->params["code_type"] = "caffe.PriorBoxParameter." + _codeType;