Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] TD3-bc compatibility with compile #2657

Merged
merged 14 commits into from
Dec 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update
[ghstack-poisoned]
  • Loading branch information
vmoens committed Dec 16, 2024
commit 8206ec03136c4534e3fcb2138b364e2326c30d2b
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
Loading