Skip to content

Commit

Permalink
[rllib] Use compress observations where replay buffers and image obs …
Browse files Browse the repository at this point in the history
…are used in tuned examples (ray-project#26735)

Signed-off-by: Rohan138 <[email protected]>
  • Loading branch information
avnishn authored and Rohan138 committed Jul 28, 2022
1 parent 55162b8 commit 2c604c8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rllib/tuned_examples/apex_dqn/atari-apex-dqn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ apex-breakoutnoframeskip-v4:
rollout_fragment_length: 20
train_batch_size: 512
target_network_update_freq: 50000
min_sample_timesteps_per_iteration: 25000
min_sample_timesteps_per_iteration: 25000
3 changes: 3 additions & 0 deletions rllib/tuned_examples/apex_dqn/pong-apex-dqn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@ pong-apex:
replay_buffer_config:
type: MultiAgentPrioritizedReplayBuffer
capacity: 1000000
# we should set compress_observations to True because few machines
# would be able to contain the replay buffers in memory otherwise
compress_observations: True
gamma: 0.99
training_intensity: 16
3 changes: 3 additions & 0 deletions rllib/tuned_examples/dqn/pong-dqn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ pong-deterministic-dqn:
grayscale: True
zero_mean: False
dim: 42
# we should set compress_observations to True because few machines
# would be able to contain the replay buffers in memory otherwise
compress_observations: True
3 changes: 3 additions & 0 deletions rllib/tuned_examples/dqn/pong-rainbow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ pong-deterministic-rainbow:
grayscale: True
zero_mean: False
dim: 42
# we should set compress_observations to True because few machines
# would be able to contain the replay buffers in memory otherwise
compress_observations: True

0 comments on commit 2c604c8

Please sign in to comment.