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

Looking for simple, less generic examples #13

Closed
keithmgould opened this issue Dec 20, 2017 · 2 comments
Closed

Looking for simple, less generic examples #13

keithmgould opened this issue Dec 20, 2017 · 2 comments

Comments

@keithmgould
Copy link

keithmgould commented Dec 20, 2017

Hey Guys,

Thank you again for this repo. The issue I'm having is that its a bit much regarding learning how to use Caffe2 for RL. For comparison, this simple script is pretty helpful to see how to solve cart-pole with PyTorch.

Conceptually, I'm still pretty confused about how to do RL in Caffe2, and its a bit much to get through all of the code in BlueWhale. Maybe a blog post would be better than this repo for the type of example I'm looking for. But I can't find that anywhere. Have you guys seen anything, or do you have anything stashed away that might work? Even as a gist?

For what its worth the part that I'm stuck on is: It seems when you run the model, it goes through all operations (forward pass and then backward pass), but I don't want the backward pass until the episode is complete.

I got started on what I'm asking for above, its here but it only goes up to the forward pass, as I'm not sure how to work with Caffe2 to handle waiting until episode is complete for backward pass.

Thank you again!!

@MisterTea
Copy link
Contributor

Hey Keith! Check out our openai gym test for more details: https://github.com/caffe2/BlueWhale/tree/master/ml/rl/test/gym

@keithmgould
Copy link
Author

Thank you Jason!

Will close this issue.

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

2 participants