dataset = LeRobotDataset('omy_pnp', root='./demo_data_example') # if youu want to use the example data provided, root = './demo_data_example' instead!
TypeError Traceback (most recent call last)
Cell In[1], line 8
5 import torch
7 # dataset = LeRobotDataset('omy_pnp', root='./demo_data_example') # if youu want to use the example data provided, root = './demo_data_example' instead!
----> 8 dataset = LeRobotDataset('omy_pnp', root='./demo_data')
File ~/conda/envs/lerobotmujoco/lib/python3.10/site-packages/lerobot/common/datasets/lerobot_dataset.py:486, in LeRobotDataset.init(self, repo_id, root, episodes, image_transforms, delta_timestamps, tolerance_s, revision, force_cache_sync, download_videos, video_backend)
483 self.episode_data_index = get_episode_data_index(self.meta.episodes, self.episodes)
485 # Check timestamps
--> 486 timestamps = torch.stack(self.hf_dataset["timestamp"]).numpy()
487 episode_indices = torch.stack(self.hf_dataset["episode_index"]).numpy()
490 ep_data_index_np = {k: t.numpy() for k, t in self.episode_data_index.items()}
TypeError: stack(): argument 'tensors' (position 1) must be tuple of Tensors, not Column
It seems that there are some issues with the format or method of the dataset version. Is there any good solution?
dataset = LeRobotDataset('omy_pnp', root='./demo_data_example') # if youu want to use the example data provided, root = './demo_data_example' instead!TypeError Traceback (most recent call last)
Cell In[1], line 8
5 import torch
7 # dataset = LeRobotDataset('omy_pnp', root='./demo_data_example') # if youu want to use the example data provided, root = './demo_data_example' instead!
----> 8 dataset = LeRobotDataset('omy_pnp', root='./demo_data')
File ~/conda/envs/lerobotmujoco/lib/python3.10/site-packages/lerobot/common/datasets/lerobot_dataset.py:486, in LeRobotDataset.init(self, repo_id, root, episodes, image_transforms, delta_timestamps, tolerance_s, revision, force_cache_sync, download_videos, video_backend)
483 self.episode_data_index = get_episode_data_index(self.meta.episodes, self.episodes)
485 # Check timestamps
--> 486 timestamps = torch.stack(self.hf_dataset["timestamp"]).numpy()
487 episode_indices = torch.stack(self.hf_dataset["episode_index"]).numpy()
490 ep_data_index_np = {k: t.numpy() for k, t in self.episode_data_index.items()}
TypeError: stack(): argument 'tensors' (position 1) must be tuple of Tensors, not Column
It seems that there are some issues with the format or method of the dataset version. Is there any good solution?