Merge remote-tracking branch 'upstream/user/rcadene/2024_03_31_remove_torchrl' into refactor_act

This commit is contained in:
Alexander Soare
2024-04-08 15:44:00 +01:00
109 changed files with 81 additions and 228 deletions

View File

@@ -165,7 +165,7 @@ class AlohaDataset(torch.utils.data.Dataset):
num_frames = ep["/action"].shape[0]
# last step of demonstration is considered done
done = torch.zeros(num_frames, 1, dtype=torch.bool)
done = torch.zeros(num_frames, dtype=torch.bool)
done[-1] = True
state = torch.from_numpy(ep["/observations/qpos"][:])