leon há 1 mês atrás
pai
commit
90f074511e
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      src/infer/trt/yolo.hpp

+ 3 - 3
src/infer/trt/yolo.hpp

@@ -56,11 +56,11 @@ namespace yolo
     
         bool load(const std::string &engine_file, ModelType model_type, float confidence_threshold, float nms_threshold);
     
-        virtual data::BoxArray forward(const tensor::Image &image, int slice_width, int slice_height, float overlap_width_ratio, float overlap_height_ratio, void *stream = nullptr) override;
+        virtual data::BoxArray forward(const tensor::Image &image, int slice_width, int slice_height, float overlap_width_ratio, float overlap_height_ratio, void *stream = nullptr);
     
-        virtual data::BoxArray forward(const tensor::Image &image, void *stream = nullptr) override;
+        virtual data::BoxArray forward(const tensor::Image &image, void *stream = nullptr);
     
-        virtual data::BoxArray forwards(void *stream = nullptr) override;
+        virtual data::BoxArray forwards(void *stream = nullptr);
 };
 
 Infer *loadraw(const std::string &engine_file, ModelType model_type, float confidence_threshold,