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

luajit: evaluate-rva.lua:56: attempt to index global 'model' (a nil value) #967

Closed
ruizhaogit opened this issue Mar 5, 2017 · 2 comments

Comments

@ruizhaogit
Copy link

Hi guys,

I try to evaluate the trained RAM model on Mnist using script "evaluate-rva.lua", but get this error: luajit: evaluate-rva.lua:56: attempt to index global 'model' (a nil value).

Does anyone know why?

Thank you!
Rui

@ksharsha
Copy link

ksharsha commented Mar 6, 2017

It looks like you are trying to access the model before actually creating it or loading it.

@ruizhaogit
Copy link
Author

I change this line "model = xp:model().module" to "model = xp:model()". Then it worked :)

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