Add metadata, link to paper page (#1)
Browse files- Add metadata, link to paper page (45d542e889eb28b2205765f07cd1091e95160b25)
Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: pytorch
|
| 4 |
+
pipeline_tag: depth-estimation
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# Video Depth Anything
|
| 8 |
+
|
| 9 |
+
This repository contains the model described in [Video Depth Anything: Consistent Depth Estimation for Super-Long Videos](https://huggingface.co/papers/2501.12375).
|
| 10 |
+
|
| 11 |
+
Project Page: https://videodepthanything.github.io
|
| 12 |
+
|
| 13 |
+
## About
|
| 14 |
+
This model is based on [Depth Anything V2](https://github.com/DepthAnything/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.
|
| 15 |
+
|
| 16 |
+
## Usage
|
| 17 |
+
```bash
|
| 18 |
+
git clone https://github.com/DepthAnything/Video-Depth-Anything
|
| 19 |
+
cd Video-Depth-Anything
|
| 20 |
+
pip install -r requirements.txt
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
Download the checkpoints listed [here](#pre-trained-models) and put them under the `checkpoints` directory.
|
| 24 |
+
```bash
|
| 25 |
+
bash get_weights.sh
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
### Inference a video
|
| 29 |
+
```bash
|
| 30 |
+
python3 run.py --input_video ./assets/example_videos/davis_rollercoaster.mp4 --output_dir ./outputs --encoder vitl
|
| 31 |
+
```
|