YuxinWenRick/tree-ring-watermark

code error: AttributeError: 'bool' object has no attribute '__module__'

asdcaszc opened this issue · 2 comments

Good job. Thanks for your sharing. I have a code problem in my own computer.

super(InversableStableDiffusionPipeline, self).init(vae,

super(ModifiedStableDiffusionPipeline, self).init(vae,

AttributeError: 'bool' object has no attribute 'module'

However, I don't find any code using this one. Do you know how to solve this problem?

Hi, could you check what diffusers version you are using? This code might not be compatible with the higher diffusers version than 0.11.1. You can also check out this implementation. I think they reimplemented the method with the latest diffusers version.

Yes, the problem is the different version. Thanks for your advice.