Instructions to use RGBD-SOD/dptdepth with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RGBD-SOD/dptdepth with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="RGBD-SOD/dptdepth", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("RGBD-SOD/dptdepth", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from RGBD-SOD/dptdepth: direct link, hf CLI and curl.
- Browser
- Download file 171 Bytes
-
https://huggingface.co/RGBD-SOD/dptdepth/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://RGBD-SOD/dptdepth/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/RGBD-SOD/dptdepth/resolve/main/preprocessor_config.json
171 Bytes
| { | |
| "auto_map": { | |
| "AutoImageProcessor": "image_processor_dptdepth.DPTDepthImageProcessor" | |
| }, | |
| "image_processor_type": "DPTDepthImageProcessor", | |
| "testsize": 352 | |
| } | |