Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
vmoens committed Dec 16, 2024
1 parent 63a597b commit 8206ec0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sota-implementations/td3_bc/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ def make_offline_replay_buffer(rb_cfg, device):
dataset_id=rb_cfg.dataset,
split_trajs=False,
batch_size=rb_cfg.batch_size,
sampler=SamplerWithoutReplacement(drop_last=False),
# drop_last for compile
sampler=SamplerWithoutReplacement(drop_last=True),
prefetch=4,
direct_download=True,
)
Expand Down

0 comments on commit 8206ec0

Please sign in to comment.