Open 1412-KID opened 3 months ago
I don't know how to solve this problem.
Indeed, this warning will not affect the running of the sample code. You can also install the xformers
library to avoid this warning.
Hi @LiheYoung !, I'm wondering what's the difference w/wo xformers? Speed or what else?
I'm wondering what's the difference w/wo xformers?
It can help a lot if you run at higher input image sizes, but only works with cuda. Memory usage drops significantly and if you use float16, there's a significant speed up as well. Here's a results comparison for depth-anything v1 (should be the same for v2).
import cv2 import torch
from depth_anything_v2.dpt import DepthAnythingV2
get error! /usr/bin/python3 /home/dp/Depth-Anything-V2/test.py xFormers not available xFormers not available