diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

[Pipeline] Marigold depth and normals estimation

Open toshas opened this issue 1 year ago • 4 comments

What does this PR do?

Fixes #7522. Related to #6533 (community pipeline).

This PR adds the family of Marigold pipelines for dense regression tasks. The depth estimation pipeline is largely an improved version of the community pipeline. The new normals estimation pipeline adds a new functionality of computing surface normals.

Before submitting

Who can review?

@sayakpaul @yiyixuxu

toshas avatar May 02 '24 17:05 toshas

Hi @sayakpaul, @yiyixuxu , I made a round of changes to address your comments. Thanks to your input, the pipelines look more like the other official pipelines. Please have a look. I will now continue with tests and docs

toshas avatar May 12 '24 16:05 toshas

@BenjaminBossan can you give this a review too? this is a very cool diffusion-based depth estimation model!

yiyixuxu avatar May 14 '24 02:05 yiyixuxu

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

i tested out a little bit here and made some comments https://github.com/huggingface/diffusers/pull/8064 main feedback is:

  1. we should add more fast tests (I added one basic ones, but feel free to add more)
  2. we should make sure np output is as expected (channel-last)

there is a CI failure on PR documentation that's not relevant to this PR

yiyixuxu avatar May 22 '24 04:05 yiyixuxu

The documentation currently pulls files from the unmerged PRs here: https://huggingface.co/datasets/huggingface/documentation-images/discussions/338 https://huggingface.co/datasets/huggingface/documentation-images/discussions/339 https://huggingface.co/datasets/huggingface/documentation-images/discussions/340

Once these are merged, paths to images will need to be updated again

toshas avatar May 27 '24 02:05 toshas

Hi @sayakpaul , I made a round of changes, please let me know what you think about the new separation of the documentation!

toshas avatar May 27 '24 09:05 toshas

Thanks a mile for landing this one with such poise and greatness, @toshas!

sayakpaul avatar May 27 '24 11:05 sayakpaul

Thanks, @sayakpaul and @yiyixuxu, for guiding me on this one, It was an amazing experience, and I am very happy with the result!

toshas avatar May 27 '24 15:05 toshas