DO-Conv icon indicating copy to clipboard operation
DO-Conv copied to clipboard

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

Open wxslby opened this issue 2 years ago • 1 comments

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

wxslby avatar Apr 09 '22 06:04 wxslby

same error here

xellDart avatar May 21 '22 16:05 xellDart

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

jinming0912 avatar Nov 17 '22 05:11 jinming0912

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

war0927 avatar Aug 09 '23 14:08 war0927

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

hefei12 avatar Oct 09 '23 02:10 hefei12

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.

jinming0912 avatar Oct 09 '23 06:10 jinming0912

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

hefei12 avatar Oct 11 '23 03:10 hefei12