mirror of
https://github.com/hanzoai/ml.git
synced 2026-11-20 23:08:29 +00:00
554 B
554 B
hanzo-ml-dinov2
[Depth Anything V2] is a model for Monocular Depth Estimation (MDE, i.e. just using a single image) which builds on the DINOv2 vision transformer.
This example first instantiates the DINOv2 model and then proceeds to create DepthAnythingV2 and run it.
Running an example with color map and CUDA
cargo run --features cuda,depth_anything_v2 --package hanzo-ml-examples --example depth_anything_v2 -- --color-map --image hanzo-ml-examples/examples/yolo-v8/assets/bike.jpg