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
I am having trouble generating images with width/heights other than powers of 2. Using the fix mentioned in #1, I can generate images with different dimensions than 512x512, but only 256x256 and 128x128 have worked for me so far.
When I use 248x248 (a multiple of 8) as the width/height, I get the following error:
Generating 1. image.
0it [00:01, ?it/s]
Traceback (most recent call last):
...
File "C:\...\Anaconda3\envs\sd_playground\lib\site-packages\diffusers\models\unet_blocks.py", line 1034, in forward
hidden_states = torch.cat([hidden_states, res_hidden_states], dim=1)
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 32 but got size 31 for tensor number 1 in the list.
For 224x224 (a multiple of 32), I get a similar error but ending in this instead:
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 8 but got size 7 for tensor number 1 in the list.
Any help would be greatly appreciated.
Also, I keep getting NSFW content detected at low resolutions (especially 128x128), even with the default prompt. Is there a way to disable the NSFW filter?
The text was updated successfully, but these errors were encountered:
Hi there,
I am having trouble generating images with width/heights other than powers of 2. Using the fix mentioned in #1, I can generate images with different dimensions than 512x512, but only 256x256 and 128x128 have worked for me so far.
When I use 248x248 (a multiple of 8) as the width/height, I get the following error:
For 224x224 (a multiple of 32), I get a similar error but ending in this instead:
Any help would be greatly appreciated.
Also, I keep getting NSFW content detected at low resolutions (especially 128x128), even with the default prompt. Is there a way to disable the NSFW filter?
The text was updated successfully, but these errors were encountered: