Saved file metadata (26 files)
Historical source metadata, not copies of the files. A checksum does not establish current availability.
DepthAnythingV2SmallF32.mlpackage/Data/com.apple.CoreML/weights/weight.bin
6b02236f9b6c8c4694904f89c0fc84c3b6175cde43f9f918f77948708c36b58d
DepthAnythingV2SmallF16.mlpackage/Data/com.apple.CoreML/weights/weight.bin
fa60d9b6a155734f59029ebb882fd54e549bfaee3539c1a9cbd2cbbab64a0fed
DepthAnythingV2SmallF32INT8.mlpackage/Data/com.apple.CoreML/weights/weight.bin
2e14470c8fff0959c1b63a0cf338fe14176019accc4c8c9eb9c2ed188cd4ac4d
DepthAnythingV2SmallF32P8.mlpackage/Data/com.apple.CoreML/weights/weight.bin
db1b130c4955887f216b47905892aac79343afa12e71373403e049b19f322404
DepthAnythingV2SmallF16INT8.mlpackage/Data/com.apple.CoreML/weights/weight.bin
a8b775b4f0f1f843d6d7252eb4487ad2ebbcbcf7e35f3ddab3d98f030b9cbeb5
DepthAnythingV2SmallF16P8.mlpackage/Data/com.apple.CoreML/weights/weight.bin
660a57cf7becfeac080a9bb02a263be59fd57b5c4d17ff8912833bc8b6edae04
DepthAnythingV2SmallF32P6.mlpackage/Data/com.apple.CoreML/weights/weight.bin
f11d5e5dad4128f847f931bcbd330ccbcfa005c3401983b24f003945413a1485
DepthAnythingV2SmallF16P6.mlpackage/Data/com.apple.CoreML/weights/weight.bin
3e9bcccc9e35ae6f9759551f481a3b77226510bd74536e059ee9780dda618381
DepthAnythingV2SmallF16INT8.mlpackage/Data/com.apple.CoreML/model.mlmodel
9fa7a0f68615638a8f2d25ba79d323cf3ac70b8fe1f69a3a9c7b43b022a3cacd
DepthAnythingV2SmallF16P8.mlpackage/Data/com.apple.CoreML/model.mlmodel
da3f4c6a8be93a439b1bc56ba57074c09f270b3d28052d798bc106d1259e5a1d
DepthAnythingV2SmallF16P6.mlpackage/Data/com.apple.CoreML/model.mlmodel
ee53b8f7e1682a66857b5a3d54cf04a97d89a98cf7b5979b5d726aaf9c24ad70
DepthAnythingV2SmallF16.mlpackage/Data/com.apple.CoreML/model.mlmodel
44ac97a3efcfd52113183fb2862ff59cd0368e9ec2e30a90a54980dd11407042
DepthAnythingV2SmallF32INT8.mlpackage/Data/com.apple.CoreML/model.mlmodel
b29f1012adfdfe94085600cd463c89643d00569178f64739cfa561353e64011e
DepthAnythingV2SmallF32P8.mlpackage/Data/com.apple.CoreML/model.mlmodel
f576ef30c2e755d6c2b65817fa8948b4f1c576995099287d08800248a47d0cf4
DepthAnythingV2SmallF32P6.mlpackage/Data/com.apple.CoreML/model.mlmodel
6c912b1cbbcd3f92507187391e3ce1fbc453ebe46977aa52cd0d47966163fc02
DepthAnythingV2SmallF32.mlpackage/Data/com.apple.CoreML/model.mlmodel
dfd7fd461ab2544f4951e757a59d878d6af93b5544541ed534329d84e958f0c9
README.md
SHA-256 not recorded
.gitattributes
SHA-256 not recorded
DepthAnythingV2SmallF16.mlpackage/Manifest.json
SHA-256 not recorded
DepthAnythingV2SmallF16INT8.mlpackage/Manifest.json
SHA-256 not recorded
DepthAnythingV2SmallF16P6.mlpackage/Manifest.json
SHA-256 not recorded
DepthAnythingV2SmallF16P8.mlpackage/Manifest.json
SHA-256 not recorded
DepthAnythingV2SmallF32.mlpackage/Manifest.json
SHA-256 not recorded
DepthAnythingV2SmallF32INT8.mlpackage/Manifest.json
SHA-256 not recorded
DepthAnythingV2SmallF32P6.mlpackage/Manifest.json
SHA-256 not recorded
DepthAnythingV2SmallF32P8.mlpackage/Manifest.json
SHA-256 not recorded
Saved model card (historical)
Depth Anything V2 Core ML Models
Depth Anything V2 was introduced in the paper of the same name by Lihe Yang et al. It uses the same architecture as the original Depth Anything release, but uses synthetic data and a larger capacity teacher model to achieve much finer and robust depth predictions. The original Depth Anything model was introduced in the paper Depth Anything: Unleashing the Power of Large-Scale Unlabeled Data by Lihe Yang et al., and was first released in this repository.
Model description
Depth Anything V2 leverages the DPT architecture with a DINOv2 backbone.
The model is trained on ~600K synthetic labeled images and ~62 million real unlabeled images, obtaining state-of-the-art results for both relative and absolute depth estimation.
Depth Anything overview. Taken from the original paper.
Evaluation - Variants
Evaluated on 512 landscape images from the COCO dataset with aspect ratio similar to 4:3. Images were streched to a fixed size of 518x396, and the groundtruth corresponds to the results from the PyTorch model running on CUDA with float32 precision.
Evaluation - Inference time
The following results use the small-float16 variant.
Download
Install huggingface-cli
brew install huggingface-cli
To download one of the .mlpackage folders to the models directory:
huggingface-cli download \
--local-dir models --local-dir-use-symlinks False \
apple/coreml-depth-anything-v2-small \
--include "DepthAnythingV2SmallF16.mlpackage/*"
To download everything, skip the --include argument.
Integrate in Swift apps
The huggingface/coreml-examples repository contains sample Swift code for DepthAnythingV2SmallF16.mlpackage and other models. See the instructions there to build the demo app, which shows how to use the model in your own Swift apps.
Model discussions
Share what you know. Help others. Build trust.
Loading comments...
Keep it about the model. No spam, scams or personal attacks. Links are not allowed in comments or replies. Comment policy