Open ruili3 opened 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.
from depth_anything_v2.dpt import DepthAnythingV2
from metric_depth.depth_anything_v2.dpt import DepthAnythingV2
depth_anything_v2.dpt
max_depth
I update the model import instruction from
from depth_anything_v2.dpt import DepthAnythingV2
tofrom metric_depth.depth_anything_v2.dpt import DepthAnythingV2
, as the model indepth_anything_v2.dpt
does not contain the attributemax_depth
.