yangyanli/DO-Conv

AttributeError:'DOConv2d' object has no attribute 'weight'

wxslby opened this issue · 6 comments

您好,当我想用DOConv尝试替换Conv2d时,遇到了这个问题AttributeError:'DOConv2d' object has no attribute 'weight',我的版本是pytorch1.8.0+python3.8,请教下您如何解决?非常感谢

same error here

We provide DOConv for the new pytorch version (pytorch==1.10.2, torchvision==0.11.3), you can have a try.

你好,我的pytorch2.0.0+python3.8,也出现了这个问题AttributeError:'DOConv2d' object has no attribute 'weight',有没有合适的修改方案

Hello,
I have a similar error. How did you solve this error? (pytorch==1.10.2, torchvision==0.11.3)

Hello, I have a similar error. How did you solve this error? (pytorch==1.10.2, torchvision==0.11.3)

We provide DOConv for the new pytorch version do_conv_pytorch_1_10.py (pytorch==1.10.2, torchvision==0.11.3), you can have a try.

After using this file, the same error still occurs, is there any other way to deal with it?