From 4161fc78eb6e5258c83ae18867e24c849f360fdb Mon Sep 17 00:00:00 2001 From: Pedro Cuenca Date: Fri, 4 Oct 2024 10:32:35 +0200 Subject: [PATCH] Instructions to download from Hugging Face --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 6c4ea61..3b6cce3 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,13 @@ To download pretrained checkpoints follow the code snippet below: source get_pretrained_models.sh # Files will be downloaded to `checkpoints` directory. ``` +The checkpoints are [also available in Hugging Face](https://huggingface.co/apple/DepthPro). To download from Hugging Face, please follow the snippet below: + +```bash +pip install huggingface-hub +huggingface-cli download --local-dir checkpoints apple/DepthPro +``` + ### Running from commandline We provide a helper script to directly run the model on a single image: