Merge remote-tracking branch 'upstream/main' into finish_examples

This commit is contained in:
Alexander Soare
2024-03-27 17:52:36 +00:00
2 changed files with 1 additions and 32 deletions

View File

@@ -86,13 +86,8 @@ def make_offline_buffer(
else:
raise ValueError(cfg.env.name)
# TODO(rcadene): backward compatiblity to load pretrained pusht policy
dataset_id = cfg.get("dataset_id")
if dataset_id is None and cfg.env.name == "pusht":
dataset_id = "pusht"
offline_buffer = clsfunc(
dataset_id=dataset_id,
dataset_id=cfg.dataset_id,
sampler=sampler,
batch_size=batch_size,
root=DATA_DIR,