Skip to content

Commit

Permalink
updated config
Browse files Browse the repository at this point in the history
  • Loading branch information
tarun018 committed Jul 25, 2020
1 parent 8c7d251 commit f97e82a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion common/experience.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def add(self, obs_t, action, state_t, reward, obs_tp1, done):
self._states[self._next_idx] = state_t

self._next_idx = (self._next_idx + 1) % self._maxsize
print(self._curr_size)
# print(self._curr_size)

def _get(self, idx):
return self._obses[idx], self._actions[idx], self._states[idx], self._rewards[idx], self._next_obses[idx], self._dones[idx]
Expand Down
6 changes: 3 additions & 3 deletions configs/whirl_baselines/iql_MMM2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ params:
gamma: 0.99
learning_rate: 0.0005
steps_per_epoch: 10
batch_size: 2
batch_size: 64
epsilon: 1.0
min_epsilon: 0.05
epsilon_decay_frames: 100000
Expand All @@ -60,14 +60,14 @@ params:
name: MMM2
is_double: True
score_to_win: 20
num_steps_fill_buffer: 10
num_steps_fill_buffer: 10000
replay_buffer_type: 'normal'
replay_buffer_size: 1000000
priority_beta: 0.4
priority_alpha: 0.6
beta_decay_frames: 100000
max_beta: 1
steps_num: 1
steps_num: 10
# episodes_to_log: 10
atoms_num: 1
games_to_track: 20
Expand Down
4 changes: 2 additions & 2 deletions configs/whirl_baselines/vdn_3s5z_vs_3s6z.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ params:
epsilon_decay_frames: 100000
num_epochs_to_copy: 10000
env_name: smac_cnn
name: 3s5z_vs_3s6z
name: MMM2
is_double: True
score_to_win: 20
num_steps_fill_buffer: 100000
num_steps_fill_buffer: 10000
replay_buffer_type: 'normal'
replay_buffer_size: 1000000
priority_beta: 0.4
Expand Down
4 changes: 2 additions & 2 deletions configs/whirl_baselines/vdn_3s_vs_5z.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ params:
epsilon_decay_frames: 100000
num_epochs_to_copy: 10000
env_name: smac_cnn
name: 3s_vs_5z
name: MMM2
is_double: True
score_to_win: 20
num_steps_fill_buffer: 100000
num_steps_fill_buffer: 10000
replay_buffer_type: 'normal'
replay_buffer_size: 1000000
priority_beta: 0.4
Expand Down
2 changes: 1 addition & 1 deletion configs/whirl_baselines/vdn_MMM2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ params:
name: MMM2
is_double: True
score_to_win: 20
num_steps_fill_buffer: 1000
num_steps_fill_buffer: 10000
replay_buffer_type: 'normal'
replay_buffer_size: 1000000
priority_beta: 0.4
Expand Down

0 comments on commit f97e82a

Please sign in to comment.