backup wip

这个提交包含在:
Alexander Soare
2024-03-19 16:02:09 +00:00
父节点 88347965c2
当前提交 ea17f4ce50
共有 11 个文件被更改,包括 71 次插入 和 46 次删除

查看文件

@ -49,9 +49,9 @@ class AbstractExperienceReplay(TensorDictReplayBuffer):
@property
def stats_patterns(self) -> dict:
return {
("observation", "state"): "b c -> 1 c",
("observation", "image"): "b c h w -> 1 c 1 1",
("action",): "b c -> 1 c",
("observation", "state"): "b c -> c",
("observation", "image"): "b c h w -> c",
("action",): "b c -> c",
}
@property

查看文件

@ -113,11 +113,11 @@ class AlohaExperienceReplay(AbstractExperienceReplay):
@property
def stats_patterns(self) -> dict:
d = {
("observation", "state"): "b c -> 1 c",
("action",): "b c -> 1 c",
("observation", "state"): "b c -> c",
("action",): "b c -> c",
}
for cam in CAMERAS[self.dataset_id]:
d[("observation", "image", cam)] = "b c h w -> 1 c 1 1"
d[("observation", "image", cam)] = "b c h w -> c"
return d
@property