leon 1 month ago
parent
commit
c9241c6eae
1 changed files with 0 additions and 2 deletions
  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(),