Instructions to use ethanCSL/demo_three_tasks with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use ethanCSL/demo_three_tasks with LeRobot:
# See https://github.com/huggingface/lerobot?tab=readme-ov-file#installation for more details git clone https://github.com/huggingface/lerobot.git cd lerobot pip install -e .[smolvla]
# Launch finetuning on your dataset python lerobot/scripts/train.py \ --policy.path=ethanCSL/demo_three_tasks \ --dataset.repo_id=lerobot/svla_so101_pickplace \ --batch_size=64 \ --steps=20000 \ --output_dir=outputs/train/my_smolvla \ --job_name=my_smolvla_training \ --policy.device=cuda \ --wandb.enable=true
# Run the policy using the record function python -m lerobot.record \ --robot.type=so101_follower \ --robot.port=/dev/ttyACM0 \ # <- Use your port --robot.id=my_blue_follower_arm \ # <- Use your robot id --robot.cameras="{ front: {type: opencv, index_or_path: 8, width: 640, height: 480, fps: 30}}" \ # <- Use your cameras --dataset.single_task="Grasp a lego block and put it in the bin." \ # <- Use the same task description you used in your dataset recording --dataset.repo_id=HF_USER/dataset_name \ # <- This will be the dataset name on HF Hub --dataset.episode_time_s=50 \ --dataset.num_episodes=10 \ --policy.path=ethanCSL/demo_three_tasks - Notebooks
- Google Colab
- Kaggle
Upload policy weights, train config and readme
Browse files- model.safetensors +1 -1
- train_config.json +3 -3
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 906712520
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:74105c2d2cd398282bbcf1e4a59decafd7722fb9915697650218e4179c27f111
|
| 3 |
size 906712520
|
train_config.json
CHANGED
|
@@ -184,7 +184,7 @@
|
|
| 184 |
"seed": 1000,
|
| 185 |
"num_workers": 4,
|
| 186 |
"batch_size": 32,
|
| 187 |
-
"steps":
|
| 188 |
"eval_freq": 20000,
|
| 189 |
"log_freq": 200,
|
| 190 |
"tolerance_s": 0.0001,
|
|
@@ -234,8 +234,8 @@
|
|
| 234 |
"rabc_head_mode": "sparse",
|
| 235 |
"rename_map": {
|
| 236 |
"observation.images.front": "observation.images.camera1",
|
| 237 |
-
"observation.images.
|
| 238 |
-
"observation.images.
|
| 239 |
},
|
| 240 |
"checkpoint_path": null
|
| 241 |
}
|
|
|
|
| 184 |
"seed": 1000,
|
| 185 |
"num_workers": 4,
|
| 186 |
"batch_size": 32,
|
| 187 |
+
"steps": 20000,
|
| 188 |
"eval_freq": 20000,
|
| 189 |
"log_freq": 200,
|
| 190 |
"tolerance_s": 0.0001,
|
|
|
|
| 234 |
"rabc_head_mode": "sparse",
|
| 235 |
"rename_map": {
|
| 236 |
"observation.images.front": "observation.images.camera1",
|
| 237 |
+
"observation.images.top": "observation.images.camera2",
|
| 238 |
+
"observation.images.wrist": "observation.images.camera3"
|
| 239 |
},
|
| 240 |
"checkpoint_path": null
|
| 241 |
}
|