Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'DOConv2d' object has no attribute 'weight' #23

Open
hefei12 opened this issue Oct 9, 2023 · 2 comments
Open

'DOConv2d' object has no attribute 'weight' #23

hefei12 opened this issue Oct 9, 2023 · 2 comments

Comments

@hefei12
Copy link

hefei12 commented Oct 9, 2023

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

@jinming0912
Copy link
Collaborator

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.

@hefei12
Copy link
Author

hefei12 commented Oct 9, 2023

是的我使用的就是这个文件,还是会出现这个报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants