-
Notifications
You must be signed in to change notification settings - Fork 364
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
Episodes support #11
Comments
Currently there is no support for episodes and I don't plan to add it. But I think, what you can maybe do, is try to just remove the character from the map and then put it in a kind of "death" state, which should lead to low reward. In this way, the character tries to avoid this state. I'll mark this issue as enhancement, so someone can implement this in the future. Maybe this helps. |
Thanks for your reply!
Is this it? |
Yes about right ;) Instead of step 2 you could also just remove the agent and give it like -10 reward for a few timesteps (1-2 seconds, I don't know just guessing). But really, I never tried this and it's just a suggestion. |
@janhuenermann can you tell the file name where we need to make the changes |
Fixed the link, was just missing the starting http://. |
Is it possible to train this network with episodes? E.g. in Karpathy Waterworld, one can add a rule "the character dies if it eats a green pill". After death the "character" shall be revived, how do I tell the network to switch to a new episode? The same could be done for cars example, if a car "explodes" when it touches a wall.
Great lib anyway, and code is well written.
The text was updated successfully, but these errors were encountered: