We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0a02fe commit 5112b8eCopy full SHA for 5112b8e
demos/multi_channel/object_detection_demo_yolov3/main.cpp
@@ -135,19 +135,6 @@ class YoloParams {
135
136
computeAnchors(initialAnchors, mask);
137
}
138
-
139
- YoloParams(InferenceEngine::CNNLayer::Ptr layer) {
140
- if (layer->type != "RegionYolo")
141
- throw std::runtime_error("Invalid output type: " + layer->type + ". RegionYolo expected");
142
143
- coords = layer->GetParamAsInt("coords");
144
- classes = layer->GetParamAsInt("classes");
145
- auto initialAnchors = layer->GetParamAsFloats("anchors");
146
- auto mask = layer->GetParamAsInts("mask");
147
- num = mask.size();
148
149
- computeAnchors(initialAnchors, mask);
150
- }
151
};
152
153
struct DetectionObject {
0 commit comments