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

UnboundLocalError: local variable 'out' referenced before assignment #3

Open
yuxiaomu opened this issue Nov 27, 2019 · 2 comments
Open

Comments

@yuxiaomu
Copy link

yuxiaomu commented Nov 27, 2019

cifar10.py,
image
请问这里是是怎么回事啊
令out=x之后,报错如下
AttributeError: 'EvoCNNModel' object has no attribute 'linear'
image

@yn-sun
Copy link
Owner

yn-sun commented Aug 11, 2020

这个是pytorch的内置函数,你看看你引入了没

@yezer24
Copy link

yezer24 commented Oct 11, 2021

这个是pytorch的内置函数,你看看你引入了没
你好,请问代码运行起来了吗?

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

3 participants