carson-katri / dream-textures

Stable Diffusion built-in to Blender
GNU General Public License v3.0
7.78k stars 419 forks source link

Error projecting texture #677

Closed michaeltintiuc closed 11 months ago

michaeltintiuc commented 1 year ago

Description

I'm getting the following error when trying to project any texture on a simple cube:

An error occurred while generating. Check the issues tab on GitHub to see if this has been reported before: TypeError("StableDiffusionInpaintPipeline.check_inputs() missing 1 required positional argument: 'callback_steps'")

I'm running it on Linux and installed the python dependencies both manually and via the Blender UI when troubleshooting. Using stabilityai/stable-diffusion-2-depth

Basic texture generation works fine btw.

Steps to Reproduce

Click Project Dream Texture

Expected Behavior

No errors

Addon Version

Other (Built from source)

GPU

NVIDIA

ivakam commented 1 year ago

I'm having the same issue on EndeavourOS, Nvidia.

EDIT: Adding the default value for "strength" seems to let it get past that particular obstacle, but it fails further down the lines when calling torch.cat(). It seems to me this is mostly an issue of the dependencies being updated, but I can't say for certain.

carson-katri commented 1 year ago

You may want to try downgrading diffusers, perhaps to v0.16.1? By default it will pull the latest from main, and they may have made some internal changes that haven't been accounted for here yet.

dragonwarrior commented 1 year ago

You may want to try downgrading diffusers, perhaps to v0.16.1? By default it will pull the latest from main, and they may have made some internal changes that haven't been accounted for here yet.

this works for me.

ganim3d commented 1 year ago

for me too win 10 blender 3.4 thanks !

64blit commented 1 year ago

Great! How do you downgrade?

LightDashing commented 1 year ago

Same problem, but somehow I doesn't even had diffusers lib, installing it doesn't fixed anything. I'm running pop os 22.04, nvidia, blender 3.6, installed dependencies manually. Also, Blender installed through Steam

Update: It is because of steam version. Somehow I ended up with two copies of dream-textures, one in steamapps folder and other one in .config folder

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] commented 11 months ago

This issue was closed because it has been inactive for 7 days since being marked as stale.