Repository navigation
Improved Depth Anything V2 - Base model #744
Jokeru18
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Ultimate DAV2 ViT-B —
ultimate_dav2_vitB_INet_quality.safetensorsA drop-in ViT-B depth model distilled from DAV2-L @518. It beats the official DAV2 ViT-B on pairwise accuracy (97.39% vs 97.34%) and cuts the student→teacher error by up to 74% on DA-2K — while keeping the same architecture, the same input normalization, and the same API.
What is this
ultimate_LAB_DAV2 / VitB_ImageNet_AR→ultimate_dav2_vitB_INet_quality.safetensors.safetensors— drop-in replacement fordepth_anything_v2_vitbHeadline results
Benchmark 1 — DA-2K, fidelity to Teacher (DAV2-L @518)
1030 images, student canvas 518, teacher computed once per image and cached.
The student→teacher gap is essentially closed on absolute error: what the official ViT-B loses against the L teacher,
ultimate_dav2_vitB_INet_quality.safetensorsloses only a fraction of (median error ~4x lower).Benchmark 2 — NYUv2, against saved ground truth
654 images, GT
.datdepth maps re-aligned to each canvas.Largest wins: FAR-range error −28.9%, MID −18.6%, AbsMed −23.4%.
Benchmark 3 — DA-2K pairwise accuracy (1033 images, 2068 pairs)
Overall accuracy is higher, and the gains come exactly where the official ViT-B is weakest: outdoor, transparent/reflective, underwater.
Low-resolution robustness
The teacher-fidelity advantage survives downscaling — at the lowest tested canvas (294) on DA-2K:
The official ViT-B degrades 2.4× in AbsMed from 518→294;
ultimate_dav2_vitB_INet_quality.safetensorsdegrades only 1.5×.Honest notes
Usage
Drop-in replacement for
depth_anything_v2_vitb— same encoder, same ImageNet normalization, same AR forward pass:Reproducibility
##Instalation : Copy the files and overwrite over your Nunif folder.
Optionally You can download manually the Safetensors form the repository. Otherwise they will be downloaded automatically on first start.
nunif.zip
All reactions