Sponsored by
Vmake Labs Video Enhancer
-Vmake Labs Video Enhancer uses AI to improve video quality, restore details, reduce blur, and upscale videos to 8K.
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.
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.
Device
OS
Inference time (ms)
Dominant compute unit
iPhone 12 Pro Max
18.0
31.10
Neural Engine
iPhone 15 Pro Max
17.4
33.90
Neural Engine
MacBook Pro (M1 Max)
15.0
32.80
Neural Engine
MacBook Pro (M3 Max)
15.0
24.58
Neural Engine
Download
Install
huggingface-cli
brew install huggingface-cli
To download one of the
.mlpackage
folders to the
models
directory:
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.
Runs of apple coreml-depth-anything-v2-small on huggingface.co
43.0K
Total runs
1.2K
24-hour runs
3.9K
3-day runs
12.6K
7-day runs
38.3K
30-day runs
More Information About coreml-depth-anything-v2-small huggingface.co Model
More coreml-depth-anything-v2-small license Visit here:
coreml-depth-anything-v2-small huggingface.co is an AI model on huggingface.co that provides coreml-depth-anything-v2-small's model effect (), which can be used instantly with this apple coreml-depth-anything-v2-small model. huggingface.co supports a free trial of the coreml-depth-anything-v2-small model, and also provides paid use of the coreml-depth-anything-v2-small. Support call coreml-depth-anything-v2-small model through api, including Node.js, Python, http.
coreml-depth-anything-v2-small huggingface.co is an online trial and call api platform, which integrates coreml-depth-anything-v2-small's modeling effects, including api services, and provides a free online trial of coreml-depth-anything-v2-small, you can try coreml-depth-anything-v2-small online for free by clicking the link below.
apple coreml-depth-anything-v2-small online free url in huggingface.co:
coreml-depth-anything-v2-small is an open source model from GitHub that offers a free installation service, and any user can find coreml-depth-anything-v2-small on GitHub to install. At the same time, huggingface.co provides the effect of coreml-depth-anything-v2-small install, users can directly use coreml-depth-anything-v2-small installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
coreml-depth-anything-v2-small install url in huggingface.co: