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

NameError: name 'self' is not defined #5

Closed
gsramsu opened this issue Aug 27, 2018 · 1 comment
Closed

NameError: name 'self' is not defined #5

gsramsu opened this issue Aug 27, 2018 · 1 comment

Comments

@gsramsu
Copy link

gsramsu commented Aug 27, 2018

Hi,

I cloned the RNNLG repository and am trying to train an SCLSTM. When I ran the code, I got an error in the in net.py in the saveNet() function -- name 'self' not defined. Am unable to figure this out, as self has been passed as an argument to the function, so it shouldn't exit with an error at this point. Could you please help me out?

@gsramsu gsramsu closed this as completed Aug 28, 2018
@bonkyzhu
Copy link

I came across this issue too. Could you tell me how to figure out this problem? Appreciating for your help :-)

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