toshas commited on
Commit
dafa2c6
·
1 Parent(s): ac2cf11

update model cards

Browse files
README.md CHANGED
@@ -3,42 +3,71 @@ license: apache-2.0
3
  language:
4
  - en
5
  pipeline_tag: depth-estimation
 
6
  tags:
7
- - monocular depth estimation
8
- - single image depth estimation
9
- - depth
10
  - in-the-wild
11
  - zero-shot
12
- - depth
13
  ---
14
- # Marigold: Repurposing Diffusion-Based Image Generators for Monocular Depth Estimation
15
 
16
- This model represents the official checkpoint of the paper titled "Repurposing Diffusion-Based Image Generators for Monocular Depth Estimation".
17
 
18
- [![Website](doc/badges/badge-website.svg)](https://marigoldmonodepth.github.io)
19
- [![GitHub](https://img.shields.io/github/stars/prs-eth/Marigold?style=default&label=GitHub%20★&logo=github)](https://github.com/prs-eth/Marigold)
20
- [![Paper](doc/badges/badge-pdf.svg)](https://arxiv.org/abs/2312.02145)
21
- [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/12G8reD13DdpMie5ZQlaFNo2WCGeNUH-u?usp=sharing)
22
- [![Hugging Face Space](https://img.shields.io/badge/🤗%20Hugging%20Face-Space-yellow)](https://huggingface.co/spaces/toshas/marigold)
23
- [![License](https://img.shields.io/badge/License-Apache--2.0-929292)](https://www.apache.org/licenses/LICENSE-2.0)
24
- <!-- [![HF Space](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Space-blue)]() -->
25
- <!-- [![Open In Colab](doc/badges/badge-colab.svg)]() -->
26
- <!-- [![Docker](doc/badges/badge-docker.svg)]() -->
27
- <!-- ### [Repurposing Diffusion-Based Image Generators for Monocular Depth Estimation]() -->
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
- [Bingxin Ke](http://www.kebingxin.com/),
30
- [Anton Obukhov](https://www.obukhov.ai/),
31
- [Shengyu Huang](https://shengyuh.github.io/),
32
- [Nando Metzger](https://nandometzger.github.io/),
33
- [Rodrigo Caye Daudt](https://rcdaudt.github.io/),
34
- [Konrad Schindler](https://scholar.google.com/citations?user=FZuNgqIAAAAJ&hl=en )
35
 
36
- We present Marigold, a diffusion model and associated fine-tuning protocol for monocular depth estimation. Its core principle is to leverage the rich visual knowledge stored in modern generative image models. Our model, derived from Stable Diffusion and fine-tuned with synthetic data, can zero-shot transfer to unseen data, offering state-of-the-art monocular depth estimation results.
 
 
37
 
38
- ![teaser](doc/teaser_collage_transparant.png)
 
 
39
 
40
-
41
- ## 🎓 Citation
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
 
43
  ```bibtex
44
  @InProceedings{ke2023repurposing,
@@ -47,12 +76,4 @@ We present Marigold, a diffusion model and associated fine-tuning protocol for m
47
  booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
48
  year={2024}
49
  }
50
- ```
51
-
52
- ## 🎫 License
53
-
54
- This work is licensed under the Apache License, Version 2.0 (as defined in the [LICENSE](LICENSE.txt)).
55
-
56
- By downloading and using the code and model you agree to the terms in the [LICENSE](LICENSE.txt).
57
-
58
- [![License](https://img.shields.io/badge/License-Apache--2.0-929292)](https://www.apache.org/licenses/LICENSE-2.0)
 
3
  language:
4
  - en
5
  pipeline_tag: depth-estimation
6
+ pinned: true
7
  tags:
8
+ - depth estimation
9
+ - image analysis
10
+ - computer vision
11
  - in-the-wild
12
  - zero-shot
 
13
  ---
 
14
 
15
+ <h1 align="center">Marigold Depth v1-0 Model Card</h1>
16
 
17
+ <p align="center">
18
+ <a title="Image Depth" href="https://huggingface.co/spaces/prs-eth/marigold" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
19
+ <img src="https://img.shields.io/badge/%F0%9F%A4%97%20Image%20Depth%20-Demo-yellow" alt="Image Depth">
20
+ </a>
21
+ <a title="diffusers" href="https://huggingface.co/docs/diffusers/using-diffusers/marigold_usage" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
22
+ <img src="https://img.shields.io/badge/%F0%9F%A4%97%20diffusers%20-Integration%20🧨-yellow" alt="diffusers">
23
+ </a>
24
+ <a title="Github" href="https://github.com/prs-eth/marigold" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
25
+ <img src="https://img.shields.io/github/stars/prs-eth/marigold?label=GitHub%20%E2%98%85&logo=github&color=C8C" alt="Github">
26
+ </a>
27
+ <a title="Website" href="https://marigoldmonodepth.github.io/" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
28
+ <img src="https://img.shields.io/badge/%E2%99%A5%20Project%20-Website-blue" alt="Website">
29
+ </a>
30
+ <a title="arXiv" href="https://arxiv.org/abs/2312.02145" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
31
+ <img src="https://img.shields.io/badge/%F0%9F%93%84%20Read%20-Paper-AF3436" alt="arXiv">
32
+ </a>
33
+ <a title="Social" href="https://twitter.com/antonobukhov1" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
34
+ <img src="https://img.shields.io/twitter/follow/:?label=Subscribe%20for%20updates!" alt="Social">
35
+ </a>
36
+ <a title="License" href="https://www.apache.org/licenses/LICENSE-2.0" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
37
+ <img src="https://img.shields.io/badge/License-Apache--2.0-929292" alt="License">
38
+ </a>
39
+ </p>
40
 
41
+ <h2 align="center">
42
+ <a href="https://huggingface.co/prs-eth/marigold-depth-v1-1">NEW: Marigold Depth v1-1 Model</a>
43
+ </h2>
 
 
 
44
 
45
+ This is a model card for the `marigold-depth-v1-0` model for monocular depth estimation from a single image.
46
+ The model is fine-tuned from the `stable-diffusion-2` [model](https://huggingface.co/stabilityai/stable-diffusion-2) as
47
+ described in our [CVPR'2024 paper](https://arxiv.org/abs/2312.02145) titled "Repurposing Diffusion-Based Image Generators for Monocular Depth Estimation".
48
 
49
+ - Play with the interactive [Hugging Face Spaces demo](https://huggingface.co/spaces/prs-eth/marigold): check out how the model works with example images or upload your own.
50
+ - Use it with [diffusers](https://huggingface.co/docs/diffusers/using-diffusers/marigold_usage) to compute the results with a few lines of code.
51
+ - Get to the bottom of things with our [official codebase](https://github.com/prs-eth/marigold).
52
 
53
+ ## Model Details
54
+ - **Developed by:** [Bingxin Ke](http://www.kebingxin.com/), [Anton Obukhov](https://www.obukhov.ai/), [Shengyu Huang](https://shengyuh.github.io/), [Nando Metzger](https://nandometzger.github.io/), [Rodrigo Caye Daudt](https://rcdaudt.github.io/), [Konrad Schindler](https://scholar.google.com/citations?user=FZuNgqIAAAAJ).
55
+ - **Model type:** Generative latent diffusion-based affine-invariant monocular depth estimation from a single image.
56
+ - **Language:** English.
57
+ - **License:** [Apache License License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).
58
+ - **Model Description:** This model can be used to generate an estimated depth map of an input image.
59
+ - **Resolution**: Even though any resolution can be processed, the model inherits the base diffusion model's effective resolution of roughly **768** pixels.
60
+ This means that for optimal predictions, any larger input image should be resized to make the longer side 768 pixels before feeding it into the model.
61
+ - **Steps and scheduler**: This model was designed for usage with the **DDIM** scheduler and between **10 and 50** denoising steps.
62
+ It is possible to obtain good predictions with just **one** step by overriding the `"timestep_spacing": "trailing"` setting
63
+ in the [scheduler configuration file](scheduler/scheduler_config.json) or by adding `pipe.scheduler = DDIMScheduler.from_config(pipe.scheduler.config, timestep_spacing="trailing")`
64
+ after the pipeline is loaded in the code before the first usage. For compatibility reasons we kept this `v1-0` model identical to the paper setting and provided a
65
+ [newer v1-1 model](https://huggingface.co/prs-eth/marigold-depth-v1-1) with optimal settings for all possible step configurations.
66
+ - **Outputs**:
67
+ - **Affine-invariant depth map**: The predicted values are between 0 and 1, interpolating between the near and far planes of the model's choice.
68
+ - **Uncertainty map**: Produced only when multiple predictions are ensembled with ensemble size larger than 2.
69
+ - **Resources for more information:** [Project Website](https://marigoldmonodepth.github.io/), [Paper](https://arxiv.org/abs/2312.02145), [Code](https://github.com/prs-eth/marigold).
70
+ - **Cite as:**
71
 
72
  ```bibtex
73
  @InProceedings{ke2023repurposing,
 
76
  booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
77
  year={2024}
78
  }
79
+ ```
 
 
 
 
 
 
 
 
doc/badges/badge-colab.svg DELETED
doc/badges/badge-docker.svg DELETED
doc/badges/badge-license.svg DELETED
doc/badges/badge-pdf.svg DELETED
doc/badges/badge-website.svg DELETED
doc/teaser_collage_transparant.png DELETED

Git LFS Details

  • SHA256: 9ac22708df13690f231aae38a833a49efb38ce0479e3aa14213034fda7aac970
  • Pointer size: 132 Bytes
  • Size of remote file: 5.14 MB