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

reinforce-learningrate #actions1,2,3,4 #45

Open
wants to merge 5 commits into
base: reinforce-learningrate
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions actions.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
available_actions = [
[0.0, 0.7, 0.0], # throttle
[0.0, 0.5, 0.0], # throttle
[0.0, 0.2, 0.0], # throttle
[0.0, 0.25, 0.0], # throttle
[0.0, 0.1, 0.0], # throttle
[0.0, 0.0, 0.0], # throttle
[0.0, 0.0, 0.7], # break
[0.0, 0.0, 0.5], # break
[0.0, 0.0, 0.2], # break
[-0.8, 0.1, 0.0], # left
[-0.5, 0.1, 0.0], # left
[-0.2, 0.1, 0.0], # left
[0.8, 0.1, 0.0], # right
[0.5, 0.1, 0.0], # right
[0.2, 0.1, 0.0], # right
[-1.0, 0.0, 0.04], # left
[-0.5, 0.0, 0.04], # left
[-0.2, 0.0, 0.04], # left
[1.0, 0.0, 0.04], # right
[0.5, 0.0, 0.04], # right
[0.2, 0.0, 0.04], # right
]
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

if __name__ == "__main__":
hyperparams = {
'num_episodes': 40000, # Number of training episodes
'num_episodes': 150000, # Number of training episodes
'lr': 1e-3, # Learning rate
'gamma': 0.99, # Discount rate
'log_interval': 10, # controls how often we log progress
Expand Down
Binary file modified params/policy-params.dl
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added video/openaigym.video.0.618566.video000000.mp4
Binary file not shown.
Binary file added video/openaigym.video.0.630905.video000000.mp4
Binary file not shown.