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

set pos interpolate mode to bilinear to support mps device #17

Open developer0hye opened 3 months ago

developer0hye commented 3 months ago

Torch doesn't support bicubic interpolation on mps yet.

I tested it on m2 mac book air with torch 2.3.1 version.

image
x4080 commented 2 months ago

@developer0hye will result degraded with this change for mps ?