AbdullahAlfaraj / Auto-Photoshop-StableDiffusion-Plugin

A user-friendly plug-in that makes it easy to generate stable diffusion images inside Photoshop using either Automatic or ComfyUI as a backend.
MIT License
6.65k stars 507 forks source link

setting init inpaint mask gives white square for the image #50

Open merlina-thalia opened 1 year ago

merlina-thalia commented 1 year ago

I was having issues with it working and found out there was an update. I unzipped the files into the same directory and changed the file again for the correct version of PS (24.1.0). Whenever I hit init inpaint mask, if you look at the thumbnails, it creates the mask in the correct way, but the image it's running from is blank. When I generate it will run but the result is also a white square. There are no errors under the cmd window. It will also generate txt2img fine. I also tried the quick png test and it works. Even the plugin says its loaded correctly. Everything was working until earlier today when it started closing my files when I ran it and then I started getting the white box.

AbdullahAlfaraj commented 1 year ago

I wouldn't recommend using the zip method. also read the following #30

merlina-thalia commented 1 year ago

sorry wasn't sure if I was meant to respond here or to the other thread. the issue is not the same though maybe similar - the image isn't appearing at all - the initial image is white before I even run it. I only have the one directory. It worked originally when I had unzipped it this issue started then did the update/override. If I shouldn't use that issue do I just do a git pull in that directory? I tend to get confused I'm new to this that's why I usually download and unzip.

AbdullahAlfaraj commented 1 year ago

not sure if you can use git pull after unzipping. It will be easier if you delete the whole folder and install it using git clone. if you have any images you want to save. make sure you backup "output" folder image

merlina-thalia commented 1 year ago

not sure if you can use git pull after unzipping. It will be easier if you delete the whole folder and install it using git clone. if you have any images you want to save. make sure you backup "output" folder image

I renamed the folder and started over using a git pull. It's still doing the exact same thing. It seems like it's running when I hit init mask, but it's still showing the image in the left box as all white. When I run the inpaint it just makes white. The txt2img is fine.

AbdullahAlfaraj commented 1 year ago

@merlina-thalia do you have a white background layer in you document?! you must have a nontransparent background in your project. leave background there and turn it off. Also show me two screenshots of your photoshop project. The first screenshot before you hit init mask button. and the second is right after.