Instructions to use StrongRoboticsLab/pi05-so100-diverse with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use StrongRoboticsLab/pi05-so100-diverse with LeRobot:
- Notebooks
- Google Colab
- Kaggle
bot commited on
Commit ·
3f4427e
1
Parent(s): 9ad6280
Move so100_dataset into lerobot package, remove PYTHONPATH hack
Browse files
lerobot/src/lerobot/datasets/factory.py
CHANGED
|
@@ -85,7 +85,7 @@ def make_dataset(cfg: TrainPipelineConfig) -> LeRobotDataset | MultiLeRobotDatas
|
|
| 85 |
# Support SO100Dataset via repo_id starting with "so100:"
|
| 86 |
# Format: "so100:/path/to/data_root:/path/to/index.json:/path/to/stats.json"
|
| 87 |
if isinstance(cfg.dataset.repo_id, str) and cfg.dataset.repo_id.startswith("so100:"):
|
| 88 |
-
from so100_dataset import SO100Dataset
|
| 89 |
|
| 90 |
parts = cfg.dataset.repo_id.split(":")
|
| 91 |
data_root = parts[1]
|
|
|
|
| 85 |
# Support SO100Dataset via repo_id starting with "so100:"
|
| 86 |
# Format: "so100:/path/to/data_root:/path/to/index.json:/path/to/stats.json"
|
| 87 |
if isinstance(cfg.dataset.repo_id, str) and cfg.dataset.repo_id.startswith("so100:"):
|
| 88 |
+
from lerobot.datasets.so100_dataset import SO100Dataset
|
| 89 |
|
| 90 |
parts = cfg.dataset.repo_id.split(":")
|
| 91 |
data_root = parts[1]
|
so100_dataset.py → lerobot/src/lerobot/datasets/so100_dataset.py
RENAMED
|
File without changes
|
train_cloud.sh
CHANGED
|
@@ -29,7 +29,6 @@ if [ "$NUM_GPUS" -gt 1 ]; then
|
|
| 29 |
ACCEL_FLAGS="--multi_gpu --num_processes $NUM_GPUS"
|
| 30 |
fi
|
| 31 |
|
| 32 |
-
PYTHONPATH=/workspace/pi05-so100-diverse:$PYTHONPATH \
|
| 33 |
accelerate launch $ACCEL_FLAGS \
|
| 34 |
-m lerobot.scripts.lerobot_train \
|
| 35 |
--dataset.repo_id="so100:$DATASET_DIR:/workspace/pi05-so100-diverse/filtered_index.json:/workspace/pi05-so100-diverse/norm_stats.json" \
|
|
|
|
| 29 |
ACCEL_FLAGS="--multi_gpu --num_processes $NUM_GPUS"
|
| 30 |
fi
|
| 31 |
|
|
|
|
| 32 |
accelerate launch $ACCEL_FLAGS \
|
| 33 |
-m lerobot.scripts.lerobot_train \
|
| 34 |
--dataset.repo_id="so100:$DATASET_DIR:/workspace/pi05-so100-diverse/filtered_index.json:/workspace/pi05-so100-diverse/norm_stats.json" \
|