leon 1 개월 전
부모
커밋
3362eb4bf7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/nodes/infer/inferNode.cpp

+ 1 - 1
src/nodes/infer/inferNode.cpp

@@ -29,7 +29,7 @@ void InferNode::work()
             int y = rand() % height;
             int w = rand() % (width - x);
             int h = rand() % (height - y);
-            metaData->boxes.push_back(data::Box(x, y, x + w, y + h, 0.9, "test"));
+            metaData->boxes.push_back(data::Box(x, y, x + w, y + h, 0.9, 0));
             for (auto& output_buffer : output_buffers_)
             {
                 // printf("Node %s push data to %s\n", name_.c_str(), output_buffer.first.c_str());