You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dataset = 'utokyo_saytap_converted_externally_to_rlds'
display_key = 'image'
b = tfds.builder_from_directory(builder_dir=dataset2path(dataset))
ds = b.as_dataset(split='train[:10]').shuffle(10) # take only first 10 episodes
b.info.features['steps']
episode = next(iter(ds))
images = [step['observation']['image'] for step in episode['steps']]
actions = {
# 'rotation_delta': [step['action']['rotation_delta'] for step in episode['steps']],
'action': [step['action'] for step in episode['steps']]
}
pil_images = [Image.fromarray(image.numpy()) for image in images]
rr.init("Open Embodiment X")
timesteps = len(pil_images)
for tidx in range(timesteps):
rr.set_time_sequence("frame_idx", tidx)
rr.set_time_seconds("sensor_time", 0.33 * tidx)
rr.log("input", rr.Image(np.array(pil_images[tidx])))
for action_name, scalers in actions.items():
for tidx, scaler in enumerate(scalers):
rr.set_time_sequence("frame_idx", tidx)
for idx, val in enumerate(scaler):
rr.log(
f"action/{action_name}/{idx}",
rr.Scalar(val),
)
rr.notebook_show(width=1200, height=800)
utokyo_saytap_converted_externally_to_rlds
At version 0.1.0 all
image
inutokyo_saytap_converted_externally_to_rlds
as well aswrist_image
are empty frames (all 0s)Steps to reproduce
Here's a rerun.io saytap-episode.rrd.zip which you play here — https://rerun.io/viewer
The text was updated successfully, but these errors were encountered: