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

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

Closed
QaisarRajput opened this issue Oct 13, 2017 · 1 comment
Closed

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

QaisarRajput opened this issue Oct 13, 2017 · 1 comment

Comments

@QaisarRajput
Copy link

QaisarRajput commented Oct 13, 2017

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
Copy link
Author

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

Reference Issue in Torch7

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

1 participant