Instructions to use CineAI/Depth-Pro-hf-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CineAI/Depth-Pro-hf-4bit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("depth-estimation", model="CineAI/Depth-Pro-hf-4bit")# Load model directly from transformers import AutoImageProcessor, AutoModelForDepthEstimation processor = AutoImageProcessor.from_pretrained("CineAI/Depth-Pro-hf-4bit") model = AutoModelForDepthEstimation.from_pretrained("CineAI/Depth-Pro-hf-4bit") - Notebooks
- Google Colab
- Kaggle