Skip to content

Commit

Permalink
Fix default buffer creation at fit_online
Browse files Browse the repository at this point in the history
  • Loading branch information
takuseno committed May 6, 2024
1 parent c1560bf commit 2cfa571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion d3rlpy/algos/qlearning/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ def fit_online(

# create default replay buffer
if buffer is None:
buffer = create_fifo_replay_buffer(1000000)
buffer = create_fifo_replay_buffer(1000000, env=env)

# check action-space
assert_action_space_with_env(self, env)
Expand Down

0 comments on commit 2cfa571

Please sign in to comment.