depth-anything-tensorrt
C++ TensorRT implementation of Depth-Anything V1, V2
File Explorer
Download Latest Version (.zip)- davis_dolphins_result.gif
- demo02.jpg
- demo07.jpg
- demo09.jpg
- ferris_wheel_result.gif
- usage-example.png
- dpt.py
- export_v1.py
- dpt.py
- export_v2.py
- INSTALL.md
- blocks.cpython-38.pyc
- dpt.cpython-38.pyc
- transform.cpython-38.pyc
- transform.py
- blocks.py
- dpt.py
- app.py
- README.md
- requirements.txt
- trt_infer.py
- davis_dolphins.mp4
- CMakeLists.txt
- depth_anything.cpp
- depth_anything.h
- LICENSE
- main.cpp
- README.md
- run.bat
- utils.cpp
- utils.h
# Installation Guide
git clone https://github.com/spacewalk01/depth-anything-tensorrt
Downloads the entire project code from GitHub to your computer.
cd depth-anything-tensorrt
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Python 3 Python is required to use pip.
pip install torch torchvision
Installs the package published on PyPI directly β no need to clone the source.
pip install opencv-python
Installs the package published on PyPI directly β no need to clone the source.
pip install onnx
Installs the package published on PyPI directly β no need to clone the source.
Pulled directly from this repo's README.
3. CMake
Mediummkdir build && cd build
Creates a folder to hold the build output and moves into it.
cmake ..
Analyzes the source code and generates build configuration files (must be run inside the build folder).
make
Compiles the code based on the generated build configuration to produce an executable.
4. Python
Easypip install torch torchvision
Installs the package published on PyPI directly β no need to clone the source.
pip install opencv-python
Installs the package published on PyPI directly β no need to clone the source.
pip install onnx
Installs the package published on PyPI directly β no need to clone the source.
Pulled directly from this repo's README.
