Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Show Depth Map" Option #2

Closed
TheEliteGeek opened this issue Nov 25, 2022 · 10 comments
Closed

Add "Show Depth Map" Option #2

TheEliteGeek opened this issue Nov 25, 2022 · 10 comments

Comments

@TheEliteGeek
Copy link

There should be a way to view the generated depth map within the web interface instead of having to save and view them from the img2img folder.

@lhucklen
Copy link

I agree. Can we make it similar to how this repository displays both results.

https://colab.research.google.com/github/backnotprop/Colab-Stable-Diffusion-2-Depth/blob/main/%5BColab_Gradio%5D_stable_diffusion_2_depth.ipynb

@AugmentedRealityCat
Copy link

This would be tremendously useful to adjust the parameters of this new feature I am requesting for better mask control:
#3

@Extraltodeus
Copy link
Owner

I mean you can already save the depth maps, they are just not shown in the webui.

@EricZeiberg
Copy link

EricZeiberg commented Nov 28, 2022

It's very cumbersome to have to look at the file instead of it showing up in the UI. It should function similar to txt2mask

@Extraltodeus
Copy link
Owner

all right

Can you test it?
Replace depth2image_depthmask.py by this version before loading your UI

@AugmentedRealityCat
Copy link

AugmentedRealityCat commented Nov 28, 2022

For some reason I completely broke my Automatic1111 Webui install - I went up and down too many branches I suppose, and now there are conflicts.
I'll test that as soon as I fix my problems, and I'll also come back to you regarding my feature request and why it would be useful - that's what I was trying to achieve but IMG2IMG was broken on my machine last night and it's by trying to fix it that I f'ed everything else.

@Extraltodeus
Copy link
Owner

Extraltodeus commented Nov 28, 2022

Ho I've been there so many times with so many dependancies. Good luck!

@AugmentedRealityCat
Copy link

Can you test it? Replace depth2image_depthmask.py by this version before loading your UI

I tried it and it works ! Thank you so much, this makes everything so much easier to manage as you get visual feedback directly in the WebUI.

A good tip: to speed things up while I'm adjusting the mask I simply set the denoising value to 0.00 this way the image is simply redrawn "as is", which takes a single step, and I only have to wait for the depthmap itself to be rendered.

@TheEliteGeek
Copy link
Author

all right

Can you test it? Replace depth2image_depthmask.py by this version before loading your UI

This works! You rock!

@Extraltodeus
Copy link
Owner

Nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants