We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf0b4c8 commit f5a149fCopy full SHA for f5a149f
src/pipeline/node/DetectionParser.cpp
@@ -159,7 +159,7 @@ void DetectionParser::setConfig(const dai::NNArchiveVersionedConfig& config) {
159
std::vector<std::vector<float>> layerOut(anchorsIn[layer].size());
160
for(size_t anchor = 0; anchor < layerOut.size(); ++anchor) {
161
std::vector<float> anchorOut(anchorsIn[layer][anchor].size());
162
- if (anchorOut.size() != 2) {
+ if(anchorOut.size() != 2) {
163
throw std::runtime_error("Each anchor should have exactly 2 dimensions (width and height).");
164
}
165
for(size_t dim = 0; dim < anchorOut.size(); ++dim) {
0 commit comments