Element-Research / rnn

Recurrent Neural Network library for Torch7's nn
BSD 3-Clause "New" or "Revised" License
941 stars 313 forks source link

Evaluation error in "evaluate-rva.lua". #424

Closed QaisarRajput closed 7 years ago

QaisarRajput commented 7 years ago

i have successfully trained my model and got 98.87% accuracy. now when i try to evaluate the model i get the following error. the actual line which makes this error is ds = dp[opt.dataset]() in the else clause where dataset is loaded. Note: the output on console "step 0" is just a line of code print("step 0") and the "Mnist" is print (opt.dataset)

image

QaisarRajput commented 7 years ago

Solved it! in the code model = xp:model().module remove module model = xp:model()

Reference Issue in Torch7