Upload folder using huggingface_hub
Browse files- README.md +61 -0
- data/chunk-000/episode_000000.parquet +3 -0
- data/chunk-000/episode_000001.parquet +3 -0
- data/chunk-000/episode_000002.parquet +3 -0
- data/chunk-000/episode_000003.parquet +3 -0
- data/chunk-000/episode_000004.parquet +3 -0
- meta/episodes.jsonl +5 -0
- meta/episodes_stats.jsonl +1 -0
- meta/info.json +84 -0
- meta/tasks.jsonl +1 -0
- videos/chunk-000/observation.images.main/episode_000000.mp4 +3 -0
- videos/chunk-000/observation.images.main/episode_000001.mp4 +3 -0
- videos/chunk-000/observation.images.main/episode_000002.mp4 +3 -0
- videos/chunk-000/observation.images.main/episode_000003.mp4 +3 -0
- videos/chunk-000/observation.images.main/episode_000004.mp4 +3 -0
README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pipeline_tag: robotics
|
| 3 |
+
tags:
|
| 4 |
+
- robotics
|
| 5 |
+
- manipulation
|
| 6 |
+
- pick-and-place
|
| 7 |
+
- lerobot
|
| 8 |
+
library_name: lerobot
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# PickCube-v1 LeRobot Dataset
|
| 12 |
+
|
| 13 |
+
Robot manipulation dataset for pick and place tasks in proper LeRobot format.
|
| 14 |
+
|
| 15 |
+
## Dataset Structure
|
| 16 |
+
- **Episodes**: 5
|
| 17 |
+
- **Total Frames**: 250
|
| 18 |
+
- **Average Episode Length**: 50 frames
|
| 19 |
+
- **Task**: Pick up cube and place at target location
|
| 20 |
+
|
| 21 |
+
## Features
|
| 22 |
+
- `observation.state`: Robot joint positions [6D float32]
|
| 23 |
+
- `observation.images.main`: RGB camera feed (256x256)
|
| 24 |
+
- `action`: Robot control actions [6D float32]
|
| 25 |
+
- `language_instruction`: Task description
|
| 26 |
+
|
| 27 |
+
## Files Structure
|
| 28 |
+
```
|
| 29 |
+
dataset/
|
| 30 |
+
├── data/chunk-000/ # Parquet files per episode
|
| 31 |
+
├── meta/ # Metadata files
|
| 32 |
+
├── videos/chunk-000/ # MP4 videos per episode
|
| 33 |
+
└── README.md
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
## Usage
|
| 37 |
+
|
| 38 |
+
```python
|
| 39 |
+
from lerobot.common.datasets.lerobot_dataset import LeRobotDataset
|
| 40 |
+
|
| 41 |
+
dataset = LeRobotDataset("USERNAME/REPO_NAME")
|
| 42 |
+
print(f"Loaded {len(dataset)} frames")
|
| 43 |
+
|
| 44 |
+
# Access sample
|
| 45 |
+
sample = dataset[0]
|
| 46 |
+
state = sample['observation.state']
|
| 47 |
+
action = sample['action']
|
| 48 |
+
image = sample['observation.images.main']
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
## Training SmolVLA
|
| 52 |
+
|
| 53 |
+
```bash
|
| 54 |
+
python lerobot/scripts/train.py \
|
| 55 |
+
--policy.path=lerobot/smolvla_base \
|
| 56 |
+
--policy.repo_id=USERNAME/model_name \
|
| 57 |
+
--dataset.repo_id=USERNAME/REPO_NAME \
|
| 58 |
+
--batch_size=8 \
|
| 59 |
+
--steps=2000 \
|
| 60 |
+
--policy.device=cuda
|
| 61 |
+
```
|
data/chunk-000/episode_000000.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7587f92c183ace740c212ee6af5547caf03902d97f695d1d429a275db08373aa
|
| 3 |
+
size 9648
|
data/chunk-000/episode_000001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac81c9282fbff9e7cef54038aed90358d28f0db56285fc3ec2cee223aa66671d
|
| 3 |
+
size 9630
|
data/chunk-000/episode_000002.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:31944d2e4af532e078d60c8bec35a4753bac6182c6b8f8025971d1130d39ef85
|
| 3 |
+
size 9570
|
data/chunk-000/episode_000003.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d4c87a6b2ad49b518bfe4beeb5b249fc2af6b9f6860fe16fe4d76428c3bd7819
|
| 3 |
+
size 9592
|
data/chunk-000/episode_000004.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c1ab741d06b6910d9bce12963b3808cb02465c9214ed08763cba6881cce19e6d
|
| 3 |
+
size 9670
|
meta/episodes.jsonl
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"episode_index": 0, "length": 50, "timestamp": {"from": 0.0, "to": 1.6333333333333333}}
|
| 2 |
+
{"episode_index": 1, "length": 50, "timestamp": {"from": 0.0, "to": 1.6333333333333333}}
|
| 3 |
+
{"episode_index": 2, "length": 50, "timestamp": {"from": 0.0, "to": 1.6333333333333333}}
|
| 4 |
+
{"episode_index": 3, "length": 50, "timestamp": {"from": 0.0, "to": 1.6333333333333333}}
|
| 5 |
+
{"episode_index": 4, "length": 50, "timestamp": {"from": 0.0, "to": 1.6333333333333333}}
|
meta/episodes_stats.jsonl
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"total_episodes": 5, "total_frames": 250, "avg_episode_length": 50.0, "min_episode_length": 50, "max_episode_length": 50}
|
meta/info.json
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"codebase_version": "v2.0",
|
| 3 |
+
"robot_type": "manipulator",
|
| 4 |
+
"total_episodes": 5,
|
| 5 |
+
"total_frames": 250,
|
| 6 |
+
"total_tasks": 1,
|
| 7 |
+
"fps": 30,
|
| 8 |
+
"splits": {
|
| 9 |
+
"train": "0:5"
|
| 10 |
+
},
|
| 11 |
+
"data_path": "data/chunk-000",
|
| 12 |
+
"video_path": "videos/chunk-000",
|
| 13 |
+
"features": {
|
| 14 |
+
"observation.state": {
|
| 15 |
+
"dtype": "float32",
|
| 16 |
+
"shape": [
|
| 17 |
+
6
|
| 18 |
+
],
|
| 19 |
+
"names": [
|
| 20 |
+
"joint_1",
|
| 21 |
+
"joint_2",
|
| 22 |
+
"joint_3",
|
| 23 |
+
"joint_4",
|
| 24 |
+
"joint_5",
|
| 25 |
+
"joint_6"
|
| 26 |
+
]
|
| 27 |
+
},
|
| 28 |
+
"observation.images.main": {
|
| 29 |
+
"dtype": "video",
|
| 30 |
+
"shape": [
|
| 31 |
+
3,
|
| 32 |
+
256,
|
| 33 |
+
256
|
| 34 |
+
],
|
| 35 |
+
"names": [
|
| 36 |
+
"C",
|
| 37 |
+
"H",
|
| 38 |
+
"W"
|
| 39 |
+
],
|
| 40 |
+
"info": {
|
| 41 |
+
"video.fps": 30,
|
| 42 |
+
"video.codec": "h264",
|
| 43 |
+
"video.pix_fmt": "yuv420p",
|
| 44 |
+
"video.is_depth_map": false,
|
| 45 |
+
"has_audio": false
|
| 46 |
+
}
|
| 47 |
+
},
|
| 48 |
+
"action": {
|
| 49 |
+
"dtype": "float32",
|
| 50 |
+
"shape": [
|
| 51 |
+
6
|
| 52 |
+
],
|
| 53 |
+
"names": [
|
| 54 |
+
"action_1",
|
| 55 |
+
"action_2",
|
| 56 |
+
"action_3",
|
| 57 |
+
"action_4",
|
| 58 |
+
"action_5",
|
| 59 |
+
"action_6"
|
| 60 |
+
]
|
| 61 |
+
},
|
| 62 |
+
"episode_index": {
|
| 63 |
+
"dtype": "int64",
|
| 64 |
+
"shape": []
|
| 65 |
+
},
|
| 66 |
+
"frame_index": {
|
| 67 |
+
"dtype": "int64",
|
| 68 |
+
"shape": []
|
| 69 |
+
},
|
| 70 |
+
"timestamp": {
|
| 71 |
+
"dtype": "float64",
|
| 72 |
+
"shape": []
|
| 73 |
+
},
|
| 74 |
+
"next.done": {
|
| 75 |
+
"dtype": "bool",
|
| 76 |
+
"shape": []
|
| 77 |
+
},
|
| 78 |
+
"language_instruction": {
|
| 79 |
+
"dtype": "string",
|
| 80 |
+
"shape": []
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"task_description": "Pick up the cube and place it at the target location"
|
| 84 |
+
}
|
meta/tasks.jsonl
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"task_index": 0, "task": "Pick up the cube and place it at the target location"}
|
videos/chunk-000/observation.images.main/episode_000000.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a74bfc678f60a9d7081f229f05867c68f3b15772a8aadb40c7babaacbc9c2bf0
|
| 3 |
+
size 132773
|
videos/chunk-000/observation.images.main/episode_000001.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ea318f46093973af4427738007f5f02e2f0951311acef1ec135d7b630f7d8e9
|
| 3 |
+
size 98011
|
videos/chunk-000/observation.images.main/episode_000002.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b31cbb60ce100fe264848d655ff7a05a8027cacd53d47c7b902a5ac3885ea626
|
| 3 |
+
size 113715
|
videos/chunk-000/observation.images.main/episode_000003.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0cd7587a7a4a17b0b445bb0c3dc340ed1680f0594186a1b07be8c5738842e8b7
|
| 3 |
+
size 139553
|
videos/chunk-000/observation.images.main/episode_000004.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7640435e4c709cee123da7e54e3c6aa4e6ee93020a6844171e4c64f43d47128b
|
| 3 |
+
size 134233
|