Instructions to use LibreYOLO/LibreDepthPro2b-depth with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LibreYOLO
How to use LibreYOLO/LibreDepthPro2b-depth with LibreYOLO:
# pip install libreyolo from libreyolo import LibreYOLO model = LibreYOLO("LibreYOLO/LibreDepthPro2b-depth") results = model("https://raw.githubusercontent.com/LibreYOLO/libreyolo/release/libreyolo/assets/guggenheim-bilbao.jpg", save=True) - Notebooks
- Google Colab
- Kaggle
Download NOTICE from LibreYOLO/LibreDepthPro2b-depth: direct link, hf CLI and curl.
- Browser
- Download file 1.97 kB
-
https://huggingface.co/LibreYOLO/LibreDepthPro2b-depth/resolve/main/NOTICE
- Command line
-
hf download hf://LibreYOLO/LibreDepthPro2b-depth/NOTICE
-
curl -L -o NOTICE https://huggingface.co/LibreYOLO/LibreDepthPro2b-depth/resolve/main/NOTICE
1.97 kB
| LibreDepthPro2b-depth weights | |
| ----------------------------- | |
| Apple Machine Learning Research Model is licensed under the Apple Machine | |
| Learning Research Model License Agreement. | |
| Copyright (C) 2026 Apple Inc. All Rights Reserved. | |
| Source checkpoints | |
| ------------------ | |
| - Depth model: https://huggingface.co/apple/DepthPro2-B | |
| Revision: 85e67fdfb7f5b36a6f6c4495e6789d331b1d8a04 | |
| File: model.safetensors | |
| SHA-256: 244ff85e0d9bde6e0f985de1c61420abc4c2110265b495c974556225ac2b60ed | |
| - Focal length estimator: https://huggingface.co/apple/DepthPro2-focal | |
| Revision: 622659d44a2002cf9ae4333f2569afa938290d9a | |
| File: model.safetensors | |
| SHA-256: 8f567d1c97ff916137288668f6bd306ce2094da2e2b852b0e4539dbb139c8c86 | |
| - Upstream reference code: https://github.com/apple-aiml-research/ml-depth-pro-2 | |
| Commit: aa389cbb0b74341664ed663a0966c859905cd6c0 | |
| Modifications | |
| ------------- | |
| This file is a repackaged checkpoint for LibreYOLO. The learned tensors of | |
| apple/DepthPro2-B and apple/DepthPro2-focal are completely unchanged (bitwise | |
| identical to upstream). The only modifications are: | |
| 1. Bundling the apple/DepthPro2-focal state dict under the ``fov.*`` key prefix in the | |
| same checkpoint file as the depth model state dict. | |
| 2. Wrapping the combined state dict with LibreYOLO checkpoint v1.0 metadata | |
| (``model_family="depthpro2"``, ``size="b"``, ``task="depth"``). | |
| See ``weights/convert_depthpro2_weights.py`` and | |
| ``weights/upload_depthpro2_hf.py`` in https://github.com/LibreYOLO/libreyolo. | |
| License & non-endorsement | |
| ------------------------- | |
| These weights are governed exclusively by the Apple Machine Learning Research | |
| Model License Agreement (see the verbatim ``LICENSE`` file in this repository), | |
| which restricts use and redistribution to non-commercial Research Purposes | |
| only. Downstream users are solely responsible for complying with those terms. | |
| Apple's name, trademarks, service marks, and logos are not used to endorse or | |
| promote LibreYOLO or any derivative works. | |