Marigold: two licence files and three requirements files
[CVPR 2024 - Oral, Best Paper Award Candidate] Marigold: Repurposing Diffusion-Based Image Generators for Monocular Depth Estimation
At a glance
- What is it?
- Marigold adapts a pretrained latent diffusion model for depth, surface normals and intrinsic image decomposition, and is now shipped inside the diffusers library as well as here. Its code is under Apache 2.0 while its weights sit under a separate licence the page never states, its dependency floor allows a diffusers older than the one that contains Marigold, and the depth checkpoint was retrained with different noise scheduling.
- Who is it for?
- Marigold fits a research team that wants a strong monocular depth or normal estimator from a fine-tuned diffusion model and can live with a checkpoint download, and it fits nobody who needs the paper's exact numbers reproduced without pinning their own stack. Verify four things before you build on it.
- Can I use it commercially?
- Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 79 days ago.
- What is it written in?
- Mainly Python, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 23, 2026, and from our analysis. They are not legal advice.
Star history
- prs-eth/Marigold3,260 ★ · +27
| Repository | 2026-09-24 | 2026-11-23 |
|---|---|---|
| prs-eth/Marigold | 3.2k | 3.3k |
27 Stars in the last 60 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
Two licence files, and the badge advertises the code one
The repository root holds two licence documents: one for the code and one labelled for the model. The news explains where the split came from. In December 2023 the project updated its licence to version 2.0 of the Apache licence, and the model licence arrived separately, which is the ordinary pattern for research code where the weights are treated differently from the source. The problem is what the page does with it. The badge row links the code licence, and the repository's recorded licence is the permissive one, so a reader arriving from either direction concludes the checkpoints are Apache-licensed too. The terms of the model licence are never restated anywhere in the visible page. For a project whose primary artefacts are hosted weights, that is the single most consequential thing to go and read yourself.
The latest depth checkpoint is not interchangeable with the earlier one
One day in May 2025 produced four separate release notes: two intrinsic decomposition checkpoints, a surface normals checkpoint, and an updated depth checkpoint. The depth note is the interesting one. It says the checkpoint was retrained with updated noise scheduler settings, naming zero signal-to-noise training and trailing timestamps, and with augmentations. Those are training-time changes to the noise process the model was fitted against, so the new weights are not a drop-in numerical replacement for the old ones even though the name only changed from version one zero to version one one. The same day also shipped an intrinsic decomposition line where the appearance and lighting variants both sit at version one one, while the separate latent consistency checkpoint from 2024 is still at version one zero. So there are two depth lines at two different versions and one decomposition line split across two similarly named checkpoints.
Two checkpoints that both predict albedo
The intrinsic decomposition model ships as two checkpoints whose names are one word apart and whose first output is the same channel. The appearance variant predicts albedo, roughness and metallicity. The lighting variant predicts albedo, diffuse shading and a non-diffuse residual. Both begin with albedo, so the quantity they share is also the quantity a reader is most likely to reach for first, and the two files differ only by whether the second and third channels describe material properties or illumination. Nothing in the page walks through choosing between them. The single interactive demo for decomposition is linked once, so the split is visible in the model list and invisible everywhere else. Anyone building on this has to decide which decomposition they meant before they compare a number.
The dependency floor allows a diffusers older than the one that contains Marigold
The requirements file asks for a diffusers release no older than a version from early 2024. The project's own news log says the Marigold pipelines were merged into the diffusers core library at version 0.28, in May 2024. A floor below that version means a resolver is free to install a diffusers that does not contain Marigold at all, and the import in the documented usage path then fails for a reason that has nothing to do with the user's code. That is a single line in a seven-line file, and it is the kind of floor that gets set once and forgotten. The rest of the file is more disciplined: the two deep learning libraries are pinned exactly, to a matched pair of releases. They are also considerably newer than the tested environment described in the setup section.
Three requirements files named with plus signs
The root contains three dependency files whose names are a base name and that name with one and then two plus signs appended. Nothing in the page explains the scheme, so whether the extra files add optional packages, tighten pins, or record a working set is guesswork. Two other ambiguities sit alongside. The tree carries both a source directory and a package directory, with no indication of which one a local install should use, and the hosted demo image runs a script from its own root rather than from either. And of the seven dependencies in the base file, only the two deep learning libraries carry an exact pin. The plotting and numerical libraries have no version constraint at all, which are precisely the two whose versions move numbers.
The local demo pulls the same floating image the hosted demo runs
The instruction for running the demo locally is a single container command, and three details in it matter. It pulls an image by its floating latest tag from the same registry path the hosted demo uses, so what you run locally is whatever that demo currently is rather than the checkpoint you may have pinned. It pins the platform to one architecture explicitly, so it will not run on an Apple-silicon machine. And it asks for all GPUs, which makes the local path NVIDIA-only. The full command is:
docker run -it -p 7860:7860 --platform=linux/amd64 --gpus all registry.hf.space/prs-eth-marigold:latest python app.pyThe page is candid about the hardware bar and names a single tested configuration precisely, down to the distribution, the interpreter patch level, the CUDA toolkit and the graphics card. That is better than most projects manage, and it is also the only row anyone can check.
Inference code first, training code five months later, pipelines moved into the library
The news log reads as a clear sequence. Inference code and the paper in December 2023, a community pipeline contribution days later, an interactive demo and a notebook in the same week, the consistency checkpoint and the paper acceptance in March 2024, and then in May 2024 both the merge into the library core and the release of the training code, one day apart. The consequence for a new user is easy to miss: the canonical way to call this work is now the library, and this repository is the origin rather than the destination. That also explains the second licence file and the dependency floor problem. One inconsistency sits in the same list: the interactive demos are credited to the platform vendor for the donated GPUs, which is the only acknowledgement in the file and it is for hardware, not for the eight people named above it.
A nomination rather than an award, and two project sites
The front page and the repository description both attach an award line to the 2024 paper: an oral presentation, and a best paper award candidacy. A candidacy is a nomination, not a win, and the page does not distinguish the two anywhere. Two sites are in play as well. The repository's recorded homepage is one and the page's own links go to a second, with the gallery and the extended paper under it, so the recorded address and the linked address are different hosts. The repository description is also still the depth paper from 2024 rather than the follow-up that covers the other modalities. And the news log stops in May 2025 while the repository was pushed to in September 2026, with no release to cover the gap, so the last year and a half of work is documented by neither.
Editorial conclusion
Marigold fits a research team that wants a strong monocular depth or normal estimator from a fine-tuned diffusion model and can live with a checkpoint download, and it fits nobody who needs the paper's exact numbers reproduced without pinning their own stack. Verify four things before you build on it. Read both licence files, because the code licence and the weight licence are different documents and the page advertises the first. Decide which pipeline you are calling, since the library ships them and the version floor here permits a release that does not contain them. Pin your own versions of the two scientific libraries, which arrive with no constraint at all. And note that the latest depth checkpoint is not numerically interchangeable with the earlier one, because it was trained with a different noise schedule.
Frequently asked questions
What is prs-eth/Marigold?
A family of models and a fine-tuning protocol that adapts pretrained latent diffusion models such as Stable Diffusion for dense image analysis, requiring minimal architectural change and training on small synthetic datasets on a single GPU over a few days. It covers monocular depth estimation, surface normal prediction and intrinsic decomposition, and is built on two papers, one from 2024 on depth and a 2025 follow-up on image analysis.
What license are the Marigold model weights under?
A separate licence file at the repository root covers the model, distinct from the Apache 2.0 licence that covers the code, and the page does not restate the weight terms anywhere. The badge row and the repository's recorded licence both point at the code licence, and the news notes that the project moved to Apache 2.0 in December 2023.
How do I install Marigold?
Clone the repository, which is all the page shows, since the section stops immediately after. The dependency file needs seven packages, with the two deep learning libraries pinned exactly and the others floating. The page also directs you to the diffusers library, where the pipelines were merged into the core at version 0.28, and warns that the requirement file permits a version older than that.
What are the two Marigold intrinsic decomposition checkpoints?
Both predict albedo as their first channel. One predicts albedo, roughness and metallicity and is named for appearance; the other predicts albedo, diffuse shading and a non-diffuse residual and is named for lighting. Both are at version one one, released on the same day, and the page does not explain when to choose which.
What hardware was Marigold tested on?
One configuration is named: a specific Ubuntu LTS release, Python 3.10.12, CUDA 11.7 and a GeForce RTX 3090, installed with pip. Running the demo locally instead is a container command that asks for all GPUs and pins the platform to one architecture, so that path is NVIDIA-only.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/prs-eth-marigold)Star history chart for your README
[](https://hysenlabs.com/projects/prs-eth-marigold)Was this useful?