hutaiHang/Faster-Diffusion

AttributeError: 'UNet2DConditionModel' object has no attribute 'order'

thanhhung0112 opened this issue · 6 comments

AttributeError: 'UNet2DConditionModel' object has no attribute 'order'

No description provided.

Is the version of diffusers you are using 0.17.1 ?

I'm sorry you encountered this problem, our code is too hasty.

Please note the code

image = pipe.call(prompt).images[0]

Not

image = pipe(prompt).images[0]

Because we rewrite the pipeline's call function. If you encounter any other issues, please provide more detailed description.

Oh, this is my fault, I commented the line registering the pipeline, but i encounter another issue, TypeError: check_inputs() takes from 5 to 8 positional arguments but 9 were given.
I don't know why, I try to check the check_inputs method in the pipeline, it still passes 8 arguments. Can you tell me what's going on?

Oh, this is my fault, I commented the line registering the pipeline, but i encounter another issue, TypeError: check_inputs() takes from 5 to 8 positional arguments but 9 were given. I don't know why, I try to check the check_inputs method in the pipeline, it still passes 8 arguments. Can you tell me what's going on?

Please update the version diffusersto 0.23.0, we have updated the requirement.txt. Thanks for your feedback.

Oh, this is my fault, I commented the line registering the pipeline, but i encounter another issue, TypeError: check_inputs() takes from 5 to 8 positional arguments but 9 were given. I don't know why, I try to check the check_inputs method in the pipeline, it still passes 8 arguments. Can you tell me what's going on?

Please update the version diffusersto 0.23.0, we have updated the requirement.txt. Thanks for your feedback.

It works, thank you so much!!!, but i have another question, i try using your method with my personalized SD weight, but the generated image is quite bad in details of eyes. Have you ever seen this problem?

Oh, this is my fault, I commented the line registering the pipeline, but i encounter another issue, TypeError: check_inputs() takes from 5 to 8 positional arguments but 9 were given. I don't know why, I try to check the check_inputs method in the pipeline, it still passes 8 arguments. Can you tell me what's going on?

Please update the version diffusersto 0.23.0, we have updated the requirement.txt. Thanks for your feedback.

It works, thank you so much!!!, but i have another question, i try using your method with my personalized SD weight, but the generated image is quite bad in details of eyes. Have you ever seen this problem?

Perhaps you need to adjust the keytime hyperparameter, similar to issue #7.