Dataset v2.0 (#461)

Co-authored-by: Remi <remi.cadene@huggingface.co>
这个提交包含在:
Simon Alibert
2024-11-29 19:04:00 +01:00
提交者 GitHub
父节点 96c7052777
当前提交 32eb0cec8f
共有 71 个文件被更改,包括 6115 次插入 和 2235 次删除

查看文件

@ -40,7 +40,7 @@ dataset = LeRobotDataset("lerobot/pusht", delta_timestamps=delta_timestamps)
# For this example, no arguments need to be passed because the defaults are set up for PushT.
# If you're doing something different, you will likely need to change at least some of the defaults.
cfg = DiffusionConfig()
policy = DiffusionPolicy(cfg, dataset_stats=dataset.stats)
policy = DiffusionPolicy(cfg, dataset_stats=dataset.meta.stats)
policy.train()
policy.to(device)