How to use hf-tiny-model-private/tiny-random-GLPNForDepthEstimation with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("depth-estimation", model="hf-tiny-model-private/tiny-random-GLPNForDepthEstimation")
# Load model directly from transformers import AutoImageProcessor, AutoModelForDepthEstimation processor = AutoImageProcessor.from_pretrained("hf-tiny-model-private/tiny-random-GLPNForDepthEstimation") model = AutoModelForDepthEstimation.from_pretrained("hf-tiny-model-private/tiny-random-GLPNForDepthEstimation")
What is a pickle import?