Closed ruizhaogit closed 7 years ago
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
It looks like you are trying to access the model before actually creating it or loading it.
I change this line "model = xp:model().module" to "model = xp:model()". Then it worked :)
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