Skip to content

Commit

Permalink
added -fine-engine flag to allow for easier encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
xa1on committed Aug 21, 2024
1 parent ad9d9fd commit c7990b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
4 changes: 2 additions & 2 deletions run.bat
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c7990b8

Please sign in to comment.