leon 1 mēnesi atpakaļ
vecāks
revīzija
c9241c6eae
1 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  1. 0 2
      src/infer/trt/depth/depth.cu

+ 0 - 2
src/infer/trt/depth/depth.cu

@@ -145,8 +145,6 @@ Result DepthModelImpl::forward(const tensor::Image &image, void *stream)
     }
     #endif
 
-    adjust_memory(image.width, image.height);
-
     postprocess(image.width, image.height, stream);
 
     checkRuntime(cudaMemcpyAsync(depth_map_buffer_.cpu(), depth_map_buffer_.gpu(),