Skip to content

Commit f108f1c

Browse files
committed
update
1 parent 81300d6 commit f108f1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rl2/atari/dqn_tf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def update_state(state, obs_small):
6060

6161

6262
class ReplayMemory:
63-
def __init__(self, size=500000, frame_height=IM_SIZE, frame_width=IM_SIZE,
63+
def __init__(self, size=MAX_EXPERIENCES, frame_height=IM_SIZE, frame_width=IM_SIZE,
6464
agent_history_length=4, batch_size=32):
6565
"""
6666
Args:

rl2/atari/dqn_theano.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def update_state(state, obs):
5959

6060

6161
class ReplayMemory:
62-
def __init__(self, size=500000, frame_height=IM_SIZE, frame_width=IM_SIZE,
62+
def __init__(self, size=MAX_EXPERIENCES, frame_height=IM_SIZE, frame_width=IM_SIZE,
6363
agent_history_length=4, batch_size=32):
6464
"""
6565
Args:

0 commit comments

Comments
 (0)