leon vor 1 Monat
Ursprung
Commit
3362eb4bf7
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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());