diff --git a/main.cpp b/main.cpp index 0935a24..c00cd7e 100644 --- a/main.cpp +++ b/main.cpp @@ -35,7 +35,6 @@ bool IsPathExist(const std::string& path) { } bool IsFile(const std::string& path) { if (!IsPathExist(path)) { - printf("%s:%d %s not exist\n", __FILE__, __LINE__, path.c_str()); return false; } diff --git a/run.bat b/run.bat index 1fc821c..56954c9 100644 --- a/run.bat +++ b/run.bat @@ -1,6 +1,6 @@ echo off -echo %~1 +cd %~dp0 -.\"depth-anything-tensorrt.exe" -input "%~1" -preview -model depth_anything_v2_vitb.onnx -find-engine +.\depth-anything-tensorrt.exe -input "%~1" -preview -model depth_anything_v2_vitb.onnx -find-engine pause \ No newline at end of file