Skip to content

Commit 6d00269

Browse files
authored
fix(tvm_utility): fix warning of negativeContainerIndex (#6924)
Signed-off-by: Ryuta Kambe <ryuta.kambe@tier4.jp>
1 parent b6d7477 commit 6d00269

File tree

1 file changed

+2
-0
lines changed
  • common/tvm_utility/example/yolo_v2_tiny

1 file changed

+2
-0
lines changed

common/tvm_utility/example/yolo_v2_tiny/main.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ class PostProcessorYoloV2Tiny : public tvm_utility::pipeline::PostProcessor<std:
200200
}
201201
}
202202

203+
if (max_ind == -1) continue;
204+
203205
// Decode and copy class probabilities
204206
std::vector<float> class_probabilities{};
205207
float p_total = 0;

0 commit comments

Comments
 (0)