leon 1 月之前
父节点
当前提交
c9241c6eae
共有 1 个文件被更改,包括 0 次插入2 次删除
  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
     #endif
 
 
-    adjust_memory(image.width, image.height);
-
     postprocess(image.width, image.height, stream);
     postprocess(image.width, image.height, stream);
 
 
     checkRuntime(cudaMemcpyAsync(depth_map_buffer_.cpu(), depth_map_buffer_.gpu(),
     checkRuntime(cudaMemcpyAsync(depth_map_buffer_.cpu(), depth_map_buffer_.gpu(),