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

[PPO experiment] Exp with few epochs, lower gamma #56

Open
wants to merge 1 commit into
base: ppo-nm
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
12 changes: 6 additions & 6 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,24 @@
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")

#for concurrent runs and logging
experiment='ppo-nm'
experiment='ppo-nm-few-epochs-0.96'
if __name__ == "__main__":
hyperparams = {
'num_epochs': 25000, # Number of training episodes
'num_ppo_epochs': 10,
'num_epochs': 2000, # Number of training episodes
'num_ppo_epochs': 5,
'mini_batch_size': 128,
'memory_size': 2000,
'eps': 0.2,
'c1': 1., # Value Function coeff
'c2': 0.01, # Entropy coeff
'lr': 1e-3, # Learning rate
'gamma': 0.99, # Discount rate
'lr': 1e-4, # Learning rate
'gamma': 0.96, # Discount rate
'log_interval': 10, # controls how often we log progress
'stack_frames': 4,
'device': device,
'experiment':experiment,
'params_path': f'./params/policy-params-{experiment}.dl',
'action_set_num': 0,
'action_set_num': 4,
'train': True
}

Expand Down
Binary file added params/policy-params-ppo-nm-few-epochs-0.96.dl
Binary file not shown.
Binary file not shown.