I'm having some trouble getting SD to work as I intent with greyscale
Hi, I'm doing some tests with black and white colorization, I'm using AUTOMATIC1111 version of SD, specifically the img2img tool, I'm trying to colorize greyscale photos, but with mixed results; just now I found this on the console after 2 hours using the GUI, and I'm sure it has something to do with my problems:
Grayscale input: True
What does that mean? Is SD aware of greyscale images? how do I prevent the default behavior of SD if there is one (given that it seems to not work that well)
About this post
- Posted
- Archived
- Score
- 0 · 33% up
- Kind
- Text
- ID
- xp0775
1 comment
The best method using pure SD is to draw color over the grayscale image before running it through img2img.
I got some success trying the alternate img2img to attempt regenerating the same image from seed with "full color, colorized" tagged on the front of it, but it caused more problems than it fixed. There are a coupler of colorizer GANs out there, but I could not make them load in Automatic1111 (issues with dependencies it looks like, but I didn't delve into it).
My advice would be to run the image through a colorizer first before putting it into stable diffusion. SD really wasn't trained for colorization, so it doesn't even try to do it in most cases. There are tons of colorizers already available as dedicated AI software, both through websites where you upload the image as well as APIs that you can run locally. There's no reason that you need to force yourself to only using SD in this case.