leon hace 1 mes
padre
commit
abd8b8fa6d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/infer/trt/yolo.cu

+ 1 - 1
src/infer/trt/yolo.cu

@@ -335,7 +335,7 @@ void YoloModelImpl::adjust_memory(int batch_size)
     box_count_.cpu(1);
 }
 
-void YoloModelImpl::preprocess(int ibatch, affine::LetterBoxMatrix &affine, void *stream = nullptr)
+void YoloModelImpl::preprocess(int ibatch, affine::LetterBoxMatrix &affine, void *stream)
 {
     affine.compute(std::make_tuple(slice_->slice_width_, slice_->slice_height_),
                 std::make_tuple(network_input_width_, network_input_height_));