depth-anything/Video-Depth-Anything-Small

🤗 Hugging Face sourcedepth-estimationapache-2.0116 MBother✓ 1 checksumupdated today
Submit in one command

Run it next to your model folder. It makes the torrent, checks your files against Hugging Face, and submits it. You just start seeding and paste your key from your account. It only reads your files and never changes them. Read the script first if you like.

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo depth-anything/Video-Depth-Anything-Small ./model-folder
Needs a seeder →

Video Depth Anything

This repository contains the model described in Video Depth Anything: Consistent Depth Estimation for Super-Long Videos.

Project Page: https://videodepthanything.github.io

About

This model is based on Depth Anything V2, and can be applied to arbitrarily long videos without compromising quality, consistency, or generalization ability. Compared with other diffusion-based models, it enjoys faster inference speed, fewer parameters, and higher consistent depth accuracy.

Usage

git clone https://github.com/DepthAnything/Video-Depth-Anything
cd Video-Depth-Anything
pip install -r requirements.txt

Download the checkpoints listed here and put them under the checkpoints directory.

bash get_weights.sh

Inference a video

python3 run.py --input_video ./assets/example_videos/davis_rollercoaster.mp4 --output_dir ./outputs --encoder vitl