ValueError: Could not load with any of the following classes
#12
by
hhold
- opened
ValueError: Could not load model Intel/dpt-large with any of the following classes: (<class 'transformers.models.auto.modeling_auto.AutoModelForDepthEstimation'>, <class 'transformers.models.dpt.modeling_dpt.DPTForDepthEstimation'>).
This is the code I'm running:
from transformers import pipeline
depth_estimator = pipeline(task="depth-estimation", model="Intel/dpt-large")
I tried to run the same thing in colab, it worked
transformers version: 4.41.2