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

AttributeError: 'resnet_swap_2loss_add' object has no attribute 'module' #11

Open
MercuialC opened this issue Dec 7, 2020 · 4 comments

Comments

@MercuialC
Copy link

感谢您优秀的工作!
我使用了您的环境,但是#172 if isinstance(m.module, Classifier) or 'lrx' in key:...此处报错
AttributeError: 'resnet_swap_2loss_add' object has no attribute 'module'

@xuyangwang0825
Copy link

相同的问题,想问下你解决了吗?

@xuyangwang0825
Copy link

相同的问题,想问下你解决了吗?

直接把这个判断注释掉就可以了

@peggysoul
Copy link

同样的问题+1,请问你解决了吗

@Laniakea928
Copy link

相同的问题,想问下你解决了吗?

直接把这个判断注释掉就可以了
请问单注释掉这个判断能顺利运行吗?

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

4 participants