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

testing accuracy fairly low #3

Closed
xinleipan opened this issue Dec 6, 2017 · 10 comments
Closed

testing accuracy fairly low #3

xinleipan opened this issue Dec 6, 2017 · 10 comments

Comments

@xinleipan
Copy link

xinleipan commented Dec 6, 2017

I just tried to follow the instructions in the repo, and tested models trained but got a fairly low accuracy. I'm using pyTorch 0.1.12_1. Is there anything I should pay attention to?

@xinleipan
Copy link
Author

I found the downloaded model does not work but my trained model works right now

@kentsommer
Copy link
Owner

kentsommer commented Dec 8, 2017

@xinleipan

I'm glad to hear you got it working. This week is busy for me but I'll take a look next week and see if there is an issue with the pretrained models. Perhaps there has been a change in PyTorch that is causing performance issues but not errors.

Thank you for bringing this to my attention! 👍

@xinleipan
Copy link
Author

Thanks. Do you have a plan to implement DQN or A3C with VIN?

@kentsommer
Copy link
Owner

@xinleipan

Do you mean using VIN as a global planner and training some agent (DL / RL policy) using DQN/A3C/ACKTR to be the local planner?

I guess I'm not sure I understand your question?

@xinleipan
Copy link
Author

xinleipan commented Dec 8, 2017

Yes, so VIN can be considered as a value function which takes in the state and outputs values for each action. So it can be used in DQN to train a policy that can generalize to different maps in grid world environment?

@kentsommer
Copy link
Owner

kentsommer commented Dec 8, 2017

That is actually the direction of my current research! However, that probably won't ever be merged into this repository.

I just noticed you authored the "Virtual to Real Reinforcement Learning for Autonomous Driving" paper, you presented some really great ideas! Happy to "meet" you 👍

@xinleipan
Copy link
Author

Nice to meet you too! Hope you will soon figure out how RL works with VIN

@kentsommer
Copy link
Owner

kentsommer commented Dec 8, 2017

Check out this paper for integrating VIN as a global planner: https://arxiv.org/abs/1702.03920, I think you might find that interesting (if you haven't already seen it).

@aseembits93
Copy link

I found an error in how the error is calculated while testing in Line no 80 (train.py)
correct += (predicted == labels).sum() should instead be correct += (torch.eq(torch.squeeze(predicted), labels)).sum()

@kentsommer
Copy link
Owner

@aseembits93

Thanks for this report, with the changes in the latest version of PyTorch this indeed introduced a bug. I'll be fixing this along with the bug reported in #4 this weekend.

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

3 participants