Skip to content

Commit 25370f7

Browse files
authored
Update dqn_with_rnn.py
1 parent a7a0235 commit 25370f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/sphinx-tutorials/dqn_with_rnn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@
343343
# here. In a real setting, the total number of frames should be set to 1M.
344344
#
345345
collector = SyncDataCollector(
346-
env, stoch_policy, frames_per_batch=50, total_frames=10_000
346+
env, stoch_policy, frames_per_batch=50, total_frames=200
347347
)
348348
rb = TensorDictReplayBuffer(
349349
storage=LazyMemmapStorage(20_000), batch_size=4, prefetch=10

0 commit comments

Comments
 (0)