Skip to content
Open
Changes from all commits
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
4 changes: 2 additions & 2 deletions snippets/ch1/01_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

delta_timestamps = {
# 0.2, and 0.1 seconds *before* each frame
"observation.images.wrist_camera": [-0.2, -0.1, 0.0]
"observation.images.up": [-0.2, -0.1, 0.0]
}

# Optionally, use StreamingLeRobotDataset to avoid downloading the dataset
Expand Down Expand Up @@ -45,7 +45,7 @@
# Move data to the appropriate device (e.g., GPU)
observations = batch["observation.state"].to(device)
actions = batch["action"].to(device)
images = batch["observation.images.wrist_camera"].to(device)
images = batch["observation.images.up"].to(device)

# Next, you can do amazing_model.forward(batch)
...