-
Notifications
You must be signed in to change notification settings - Fork 74
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
evaluate error on val #5
Comments
Could you let us know which version of PyTorch you're running and what version of our code you have? Note: I updated your comment to use triple-backticks so the line breaks in your code blocks are displayed properly. |
thank you for your reply! I use PyTorch v0.3.0 and python3.5, the code is the latest you put on github. and I extract the images and questions feature by using this instructions, I got 2 h5 files about val. |
The latest version of master was rewritten to run in PyTorch 0.4, which unfortunately broke compatibility with v0.3 and earlier. If you Alternatively, upgrading to PyTorch 0.4 has many niceties that are worth the upgrade. The PyTorch API has also stabilized and is not expected to change dramatically. |
I upgrade my pytorch to 0.4, and the old problem disappear,but new problem came like that
so, the batchsize is not right?but I change the batchsize the error still exist. could u give me some advice to solve it? |
Are you on the latest master? That line that's failing should actually be y[:, t][not_done] = cur_output_data[not_done][0] and it looks like your file is missing that |
@bidongqinxian did this fix the issue? |
yes, I downloaded the former master and now I update the latest master.But unfortunately, other error came out as:
did I miss something? thanks for your advice.@davidmascharka |
Since that fixes the original issue here I'm going to close this. Without seeing your |
Hello, when I evaluate on val datasets, the error appears, so what's wrong?
and this is the place I changed in test-eval:
The text was updated successfully, but these errors were encountered: