You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello! I have a problem: initially there was a mistake in dream.py in line 46, "ModuleNotFoundError: No module named 'diffusers.models.unet_2d_blocks'". To fix it, I changed from "from diffusers.models.unet_2d_blocks import UNetMidBlock2D, get_down_block, get_up_block" to "from diffusers.models.unets.unet_2d_blocks import UNetMidBlock2D, get_down_block, get_up_block". A local Metal Diffusion has been created, however, when trying to generate an image, the following error appears: "NameError: name 'StableDiffusionDiffusers' is not defined".
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
hello! I have a problem: initially there was a mistake in dream.py in line 46, "ModuleNotFoundError: No module named 'diffusers.models.unet_2d_blocks'". To fix it, I changed from "from diffusers.models.unet_2d_blocks import UNetMidBlock2D, get_down_block, get_up_block" to "from diffusers.models.unets.unet_2d_blocks import UNetMidBlock2D, get_down_block, get_up_block". A local Metal Diffusion has been created, however, when trying to generate an image, the following error appears: "NameError: name 'StableDiffusionDiffusers' is not defined".

The entire error code looks like this:
All reactions