Fixed narrowing conversion warning with MSVC compiler.

This commit is contained in:
Alexander Smorkalov 2024-07-03 12:10:31 +03:00
parent aac8bc877a
commit 25fb55601b

View File

@ -2800,7 +2800,7 @@ TEST_P(Test_ONNX_nets, YOLOv9)
float iou_threshold = 0.50;
std::vector<int> refClassIds{1, 16, 2}; // wrong class mapping for yolov9
std::vector<float> refScores{0.959274f, 0.901125, 0.559396f};
std::vector<float> refScores{0.959274f, 0.901125f, 0.559396f};
std::vector<Rect2d> refBoxes{
Rect2d(106.255, 107.927, 472.497, 350.309),