DepthAnything / Depth-Anything-V2

Depth Anything V2. A More Capable Foundation Model for Monocular Depth Estimation
https://depth-anything-v2.github.io
Apache License 2.0
3.39k stars 277 forks source link

Update the correct model import for metric depth estimation #13

Open ruili3 opened 3 months ago

ruili3 commented 3 months ago

I update the model import instruction from from depth_anything_v2.dpt import DepthAnythingV2 to from metric_depth.depth_anything_v2.dpt import DepthAnythingV2, as the model in depth_anything_v2.dpt does not contain the attribute max_depth.