google / prompt-to-prompt

Apache License 2.0
2.98k stars 279 forks source link

"TypeError: 'NoneType' object is not callable" upon model.unet() call #59

Closed josejhlee closed 1 year ago

josejhlee commented 1 year ago

Im running with diffusers 0.14.0 the "NoneType" call error is from the attention function in the forward pass of CrossAttnDownBlock2D

lxycopper commented 6 months ago

same question, may I know how you fix it?

josejhlee commented 6 months ago

same question, may I know how you fix it?

Cant remember exactly but try to check on the tab indent of the forward function in the utils.