Instructions to use lerobot-omx/omx-act-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use lerobot-omx/omx-act-models with LeRobot:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
OMX pick and place ACT ๋ชจ๋ธ
act_v1_50ep_50000steps
- ๋ฐ์ดํฐ์ : omx_pick_place_orange_doll (50 ์ํผ์๋, 25,445 ํ๋ ์)
- ์์ฐ ๋ฐฉ์: ๋ชจ๋ ๋์์ ์ฐ์ยท๋์ ์ํ. ์ด๋๊ณผ ์๋ชฉ ํ์ ์ ๊ฒน์นจ
- ํ์ต: ์ฒ์๋ถํฐ 50,000์คํ , ๋ฐฐ์น 8, 15.7 ์ํฌํฌ, 6์๊ฐ 32๋ถ
- ์ต์ข loss 0.082 (l1 0.080, kld 0.000)
- ๋กค์์: 30ํ ์ค 16ํ ์ฑ๊ณต. ์คํจ๋ ํ๊ณต ์ง๊ธฐ, ๋น ๊ทธ๋ฆฝํผ place
- ๊ณต๊ฐ ์ฌ๋ณธ: yanwoo/omx_pick_place_act_train
act_v3_finetune_20000steps
- ๋ฐ์ดํฐ์ : omx_pick_place_orange_doll_v3 (20 ์ํผ์๋, 23,327 ํ๋ ์)
- ์์ฐ ๋ฐฉ์: ๋์์ ๋จ๊ณ๋ก ๋ถํด. ๋์ ์ํ ์์
- ํ์ต: ์ v1 ๋ชจ๋ธ์์ ํ์ธํ๋, 20,000์คํ , 6.86 ์ํฌํฌ, 2์๊ฐ 34๋ถ
- ์ต์ข loss 0.078 (l1 0.076, kld 0.000)
- ๋กค์์: ์ ์ด ์ง์ ์์ ๊ต์ฐฉ. ์ฑ๊ณต๋ฅ ๋ฏธ์ธก์
- ๊ณต๊ฐ ์ฌ๋ณธ: yanwoo/omx_pick_place_act_v3
act_v3_light_2000steps / act_v3_light_4000steps
- ๋ฐ์ดํฐ์ : omx_pick_place_orange_doll_v3 (20 ์ํผ์๋, 23,327 ํ๋ ์)
- ํ์ต: act_v1_50ep_50000steps ์์ ํ์ธํ๋. 2,000์คํ ๊ณผ 4,000์คํ ์ฒดํฌํฌ์ธํธ
- ๋ชฉ์ : ๋ชจ๋ธ 1๊ณผ 20,000์คํ ๋ชจ๋ธ ์ฌ์ด์ ์ ์ ์ ๋๋ฅผ ๋น๊ตํ๊ธฐ ์ํ ์ค๊ฐ ์ง์
- 2,000์คํ : 0.69 ์ํฌํฌ, loss 0.155 (l1 0.153)
- 4,000์คํ : 1.37 ์ํฌํฌ, loss 0.127 (l1 0.126), 28๋ถ 24์ด
- 4,000์คํ ์์๋ loss๊ฐ ํ๊ฐ ์ค์ด๋ฏ๋ก ์๋ ด ์ํ๊ฐ ์๋
- ๊ณต๊ฐ ์ฌ๋ณธ: yanwoo/omx_pick_place_act_v3_light (4,000์คํ ๋ง)
v3 ์ ์ ์ ๋๋ณ ๋น๊ต
| ๋ชจ๋ธ | v3 ์ ์ ์คํ | v3 ์ํฌํฌ | v3 loss |
|---|---|---|---|
| act_v1_50ep_50000steps | 0 | 0 | 0.32 ์ด์ |
| act_v3_light_2000steps | 2,000 | 0.69 | 0.155 |
| act_v3_light_4000steps | 4,000 | 1.37 | 0.127 |
| act_v3_finetune_20000steps | 20,000 | 6.86 | 0.078 |
๋๋ ํฐ๋ฆฌ ๊ตฌ์ฑ
- pretrained_model/ ์ถ๋ก ์ฉ ๊ฐ์ค์น์ config
- training_state/ ์ตํฐ๋ง์ด์ ยท๋์ ์ํยท์คํ ์นด์ดํฐ. ๊ฐ์ ๋ฐ์ ์ด์ด๊ฐ ๋๋ง ์ฐ์
์ถ๋ก ์ฉ์ผ๋ก ์ธ ๋
hf download lerobot-omx/omx-act-models \
--include "act_v1_50ep_50000steps/pretrained_model/*" \
--local-dir ./dl
๊ตฌ๋ฒ์ LeRobot์์๋ config.json์ optimizer_fused ํ๋๋ฅผ ์ง์์ผ ํฉ๋๋ค. --policy.path ์๋ ํธ๋๊ฐ ํ์ฅ๋์ง ์์ผ๋ $HOME ๋๋ ์ ๋๊ฒฝ๋ก๋ฅผ ์ฐ์ธ์.
์ถ๊ฐ ํ์ต์ผ๋ก ์ด์ด๊ฐ ๋
resume ์ ์ฒดํฌํฌ์ธํธ๊ฐ ์๋ ๋๋ ํฐ๋ฆฌ ๊ตฌ์กฐ์ ์์ด์ผ ๋์ํฉ๋๋ค.
mkdir -p ~/outputs/train/omx_act/checkpoints
# ๋ด๋ ค๋ฐ์ 050000 ๋๋ ํฐ๋ฆฌ๋ฅผ ์ ๊ฒฝ๋ก๋ก ์ฎ๊ธด ๋ค
cd ~/outputs/train/omx_act/checkpoints && ln -s 050000 last
lerobot-train \
--config_path=$HOME/outputs/train/omx_act/checkpoints/last/pretrained_model/train_config.json \
--resume=true
์ฃผ์ 1. ๋ ๋ชจ๋ธ ๋ชจ๋ ์ง์ ํ ์คํ ์ ์ด๋ฏธ ๋ค ๋์์ต๋๋ค. ๊ทธ๋๋ก resume ํ๋ฉด ์ข ๋ฃ ์กฐ๊ฑด์ด ์ถฉ์กฑ๋์ด ๋ฐ๋ก ๋๋ฉ๋๋ค. train_config.json ์ steps ๋ฅผ ๋จผ์ ์ฌ๋ฆฌ์ธ์.
์ฃผ์ 2. ๋ฐ์ดํฐ์ ์ ๋ฐ๊ฟ ์ด์ด ํ์ตํ๋ ๊ฒ์ resume ์ด ์๋๋ผ ํ์ธํ๋์ ๋๋ค. ๊ทธ๋๋ --policy.path ๋ก pretrained_model ๊ฒฝ๋ก๋ฅผ ์ฃผ๊ณ ์ ๋ฐ์ผ๋ก ์์ํ๋ฉฐ, training_state/ ๋ ์ฐ์ด์ง ์์ต๋๋ค.