AttributeError: 'lora.Conv2d' object has no attribute 'weight'
bjzhb666 opened this issue · 3 comments
bjzhb666 commented
Thanks for your great work!
When I use loralib-0.1.2
, I get this error.
In nn.Conv2d
, it has the attribute 'weight'.
I think it is better to add weight
attribute to our lora.Conv2d
.
It is interesting that in version loralib-0.1.1
, lora.Conv2d
has this attribute, but in the latest version, my code gives me this bug.
edwardjhu commented
Good catch. It's now self.conv.weight
.
bjzhb666 commented
Thanks for your replies!