Michel Aractingi
9287c36f37
- Added missing license in the new scripts
...
- Added back legacy functions in conversion script of v2 to v21
- Updated README description for dataset_v3
2025-07-06 22:29:05 +02:00
Michel Aractingi
30ffa259b7
Merge branch 'main' into user/michel-aractingi/2025_06_30_dataset_v3
2025-07-06 12:30:36 +02:00
Michel Aractingi
bee74c3eab
Fix(tests) fix task index error in test_policies
2025-07-06 10:03:19 +02:00
Michel Aractingi
83bf24cc9a
fix(tests) add features argument to load_nested_dataset
2025-07-05 10:16:29 +02:00
Ben Zhang
aec1b29d23
Fix indentation ( #1436 )
2025-07-04 14:56:12 +02:00
Michel Aractingi
3dbc3e60fb
Added docstrings to aggregate, fix test_policies.py
2025-07-04 11:27:00 +02:00
Michel Aractingi
830a3b9f27
Merge branch 'main' into user/michel-aractingi/2025_06_30_dataset_v3
...
Signed-off-by: Michel Aractingi <michel.aractingi@huggingface.co >
2025-07-02 18:22:59 +02:00
Michel Aractingi
69b1f7b118
nit precommit
2025-07-02 18:20:01 +02:00
Michel Aractingi
66454a0fbf
Remove more references to lerobot.common
2025-07-02 18:18:19 +02:00
Michel Aractingi
63ddfefa08
Remove references to lerobot.common ( #1432 )
2025-07-02 18:08:20 +02:00
Michel Aractingi
012d428f7b
Reverted back missing files in src/lerobot/configs/
2025-07-02 17:33:51 +02:00
Michel Aractingi
1c17419224
Reverted back files that were changed during the rebase
2025-07-02 17:26:34 +02:00
Michel Aractingi
9dde8829e6
style nit
2025-07-02 17:10:56 +02:00
Michel Aractingi
0f66bbe2f9
Migrate PR to new folder structure introduce on 1417
2025-07-02 17:10:26 +02:00
Michel Aractingi
596e9050bd
Refactor kinematics and switch to using placo ( #1322 )
...
Co-authored-by: Caroline Pascal <caroline8.pascal@gmail.com >
Co-authored-by: Adil Zouitine <adilzouitinegm@gmail.com >
Co-authored-by: leo-berte <leonardo.bertelli96@gmail.com >
2025-07-02 15:20:04 +02:00
Gregor Lenz
6047bbee10
Update pyproject.toml to make package installable with pip ( #1430 )
...
Signed-off-by: Gregor Lenz <gregor@paddington-robotics.com >
2025-07-02 12:40:35 +02:00
pre-commit-ci[bot]
6de5670912
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-07-02 11:52:34 +02:00
Michel Aractingi
5e39b4ce94
fix(tests)
...
- Updated `lerobot_dataset.py:add_frame` to take task as key in frame
- Updated `lerobot_dataset.py` to remove robot argument from `create` function of lerobotdataset and lerobotdatasetmetadata and directly take the features
- Update `test_datasets.py` to features from Mock robot
- Update all the usage of `add_frame` in the library
- Update `dataset_factories.py`; had issues with new argument order
- Raise ValueError when no task is provided (in `datasets/utils.py` validate func)
2025-07-02 11:51:56 +02:00
Michel Aractingi
0a1da47527
fix(precommit) solve precommit issues
2025-07-02 11:51:06 +02:00
Michel Aractingi
6b482a93d6
fix(rebase) deleting media related to tutorials
2025-07-02 11:47:09 +02:00
Michel Aractingi
d9b9cc80da
fix(rebase) reverting files to main
2025-07-02 11:47:07 +02:00
Michel Aractingi
c3e98db37d
add missing files for porting agibot
2025-07-02 11:46:45 +02:00
fracapuano
01d0b7b102
fix: modularize tests to improve readability
2025-07-02 11:45:29 +02:00
fracapuano
848a494ff6
add: tests for aggregation code
2025-07-02 11:45:29 +02:00
fracapuano
378c147be6
fix: debug aggregation code
2025-07-02 11:45:27 +02:00
fracapuano
d4fbf6ef39
add: support for videos generation in datasets
2025-07-02 11:45:11 +02:00
Remi Cadene
8c1503dafa
WIP after Francesco discussion
2025-07-02 11:45:11 +02:00
Remi Cadene
ba022dd091
Merge remote-tracking branch 'origin/user/rcadene/2025_04_11_dataset_v3' into user/rcadene/2025_04_11_dataset_v3
2025-07-02 11:44:49 +02:00
Remi Cadene
13a1f68b8e
WIP aggregate
2025-07-02 11:44:29 +02:00
Remi Cadene
58795d72c8
In tests: Add use_videos=False by default, Create mp4 file if True, then fix test_datasets and test_aggregate (all passing)
2025-07-02 11:44:21 +02:00
Remi Cadene
220997ff47
Fix visualize_dataset with rerun
2025-07-02 11:44:10 +02:00
Remi Cadene
ee2566456a
Uploaded droid 1.0.1
2025-07-02 11:44:08 +02:00
Remi Cadene
a231930044
Fix aggregate (num_frames, dataset_from_index, index)
2025-07-02 11:43:46 +02:00
Remi Cadene
6f0fc7f386
Aggregate: Add concatenation
2025-07-02 11:43:36 +02:00
Remi Cadene
fde67dbae7
Fix convert v30 with image datasets
2025-07-02 11:43:35 +02:00
Remi Cadene
ad1ad11eac
fix hf_dataset.set_transform(hf_transform_to_torch)
2025-07-02 11:43:33 +02:00
Remi Cadene
01bc89b6f4
Merge remote-tracking branch 'origin/user/rcadene/2025_04_11_dataset_v3' into user/rcadene/2025_04_11_dataset_v3
2025-07-02 11:43:24 +02:00
Remi Cadene
8c43b3d05e
Faster self.meta.episodes[...]
...
switch back to set_transform instead of set_format
Add video_files_size_in_mb
pre-commit run --all-files
2025-07-02 11:43:22 +02:00
Remi Cadene
d4af22418b
Fix unit tests
2025-07-02 11:42:52 +02:00
Remi Cadene
eaec52a7b7
Merge remote-tracking branch 'origin/user/rcadene/2025_04_11_dataset_v3' into user/rcadene/2025_04_11_dataset_v3
2025-07-02 11:42:49 +02:00
Remi Cadene
0a390de361
Merge remote-tracking branch 'origin/main' into user/rcadene/2025_04_11_dataset_v3
2025-07-02 11:41:53 +02:00
Pepijn
1522e60f83
feat: Add fixes and refactor lekiwi example ( #1396 )
...
* feat: Add fixes and refactor lekiwi example
* fix: replace repo_id with placeholders
* feat: use record_loop for lekiwi, use same control strucutre as record.py
* feat: make rerun log more general for lekiwi
* fix: add comments record_loop and fix params evaluate.py
* fix: add events in evaluate.py
* fix: add events 2
* change record to display data
* Integrate feedback steven
* Add docs merging
* fix: add lekiwi name check
* fix: integrate feedback steven
* fix: list for type
* fix: check type list
* remove second robot connect
* fix: added file when merging
* fix(record): account for edge cases when teleop is a list
---------
Co-authored-by: Steven Palma <steven.palma@huggingface.co >
2025-07-02 11:41:20 +02:00
Simon Alibert
d4ee470b00
Package folder structure ( #1417 )
...
* Move files
* Replace imports & paths
* Update relative paths
* Update doc symlinks
* Update instructions paths
* Fix imports
* Update grpc files
* Update more instructions
* Downgrade grpc-tools
* Update manifest
* Update more paths
* Update config paths
* Update CI paths
* Update bandit exclusions
* Remove walkthrough section
2025-07-01 16:34:46 +02:00
Simon Alibert
483be9aac2
Add smolvla extra nightly ( #1408 )
2025-06-30 12:52:48 +02:00
Steven Palma
69901b9b6a
fix(recording): re-recording episode doesn't increase count of recording episodes ( #1395 )
2025-06-27 16:02:51 +02:00
Pepijn
2f9ba4e2cc
Add api examples IL docs ( #1391 )
...
* feat: add api examples for record, replay, eval for il
* fix: Add typings utils.py
* fix: Add inference to text eval
* fix: Add placeholders dataset and policy repo_ids
* fix: Improve text
* fix: Add type to 3rd ;)
* chore(docs): update API examples for replay, eval and record
---------
Co-authored-by: Steven Palma <steven.palma@huggingface.co >
2025-06-27 11:57:24 +02:00
Francesco Capuano
f3d931e1b2
Add direct access to action chunks ( #1020 )
...
* fix: sharing predicted chunk with user
* [pre-commit.ci] pre-commit autoupdate (#1011 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Revert "[pre-commit.ci] pre-commit autoupdate" (#1025 )
* fix(ci): Pin draccus (<0.10.0) and torch (<2.7) to fix pipeline (#1022 )
Co-authored-by: imstevenpmwork <steven.palma@huggingface.co >
Co-authored-by: Simon Alibert <75076266+aliberts@users.noreply.github.com >
* fix(ci): Pin `torchcodec` (==0.2.1) to fix pipeline temporarly (#1030 )
* Update tutorial (#1021 )
Co-authored-by: Simon Alibert <75076266+aliberts@users.noreply.github.com >
* Add description motor order SO-101 leader (#1051 )
* feat(encoding): switching to PyAV for ffmpeg related tasks (#983 )
* feat(docs): Add new docs build process (#1046 )
Co-authored-by: Mishig Davaadorj <dmishig@gmail.com >
Co-authored-by: Steven Palma <steven.palma@huggingface.co >
* Docs: adapt text + fix video code (#1064 )
* Fix typos (#1070 )
* docs: minor corrections and clean-up (#1089 )
* Update 10_use_so100.md; use diff syntax (#944 )
Co-authored-by: Pepijn <138571049+pkooij@users.noreply.github.com >
* Update 12_use_so101.md (#1081 )
Co-authored-by: Pepijn <138571049+pkooij@users.noreply.github.com >
* bug fix for #1071 When --display_data=true, Failed running control_robot. (#1073 )
* Add editable -e for feetech install command (#1133 )
* Fix: emptying action queue between resets (#1117 )
* fix: typos and grammar (#1148 )
* Update README.md (#1160 )
* Update README.md (#1163 )
* [Fix] Unpin torch beyond 2.6.0 & torchcodec beyond 0.2.1 (#1127 )
* (hotfix): nightly CI by clipping pymunk version below 7.0.0 (#1182 )
* [pre-commit.ci] pre-commit autoupdate (#1048 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Simon Alibert <simon.alibert@huggingface.co >
* Add SmolVLA (#1175 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: fracapuano <francesco.capuano@huggingface.co >
Co-authored-by: Steven Palma <imstevenpmwork@ieee.org >
Co-authored-by: Dana Aubakirova <118912928+danaaubakirova@users.noreply.github.com >
Co-authored-by: Remi <remi.cadene@huggingface.co >
* Fix SmolVLA loss not sent to wandb (#1198 )
* Hardware API redesign (#777 )
Co-authored-by: Pepijn <138571049+pkooij@users.noreply.github.com >
Co-authored-by: Steven Palma <imstevenpmwork@ieee.org >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Steven Palma <steven.palma@huggingface.co >
Co-authored-by: Adil Zouitine <adilzouitinegm@gmail.com >
Co-authored-by: Pepijn <pepijn@huggingface.co >
* fix(smolvla): update record.py, fix populate_queues and remove unused dependencies (#1208 )
* replaced OBS_ROBOT with OBS_STATE constant (#1211 )
* Fix test_teleoperate (#1216 )
* Fix LeKiwi example (#1217 )
* Fix smolVLA dependencies (#1218 )
* fix(pyserial): adding pyserial dependency to global ones (#1219 )
* Update SmolVLA README.md (#1228 )
* Fix unable to set camera width/height to non-default (#1225 )
* Update tutorial link (#1250 )
* update KochFollower.get_observation() so it returns same observation structure as SO101 (#1248 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* [pre-commit.ci] pre-commit autoupdate (#1185 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Simon Alibert <75076266+aliberts@users.noreply.github.com >
* Proposal for fix for enter_pressed on Windows (#1230 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Simon Alibert <75076266+aliberts@users.noreply.github.com >
* fix: update pi0 dependency version constraint (#1247 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Match motor names with ids lekiwi (#1261 )
* fix issues: checkpoints keys mismatch and 'task' tokenisation in smolvla (#1256 )
Co-authored-by: danaaubakirova <d.aubakirova@alumni.edu.kz >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Simon Alibert <75076266+aliberts@users.noreply.github.com >
Co-authored-by: Simon Alibert <simon.alibert@huggingface.co >
* fix(docs): update realsense documentation (#1268 )
* Use HF Papers (#1120 )
* Skip normalization parameters in load_smolvla (#1274 )
* fix(record): no teleop needed when running with policy (#1284 )
* Port HIL SERL (#644 )
Co-authored-by: Michel Aractingi <michel.aractingi@huggingface.co >
Co-authored-by: Eugene Mironov <helper2424@gmail.com >
Co-authored-by: s1lent4gnt <kmeftah.khalil@gmail.com >
Co-authored-by: Ke Wang <superwk1017@gmail.com >
Co-authored-by: Yoel Chornton <yoel.chornton@gmail.com >
Co-authored-by: imstevenpmwork <steven.palma@huggingface.co >
Co-authored-by: Simon Alibert <simon.alibert@huggingface.co >
* fix(docs): SmolVLA fine-tuning getting started (#1201 )
Co-authored-by: Pepijn <138571049+pkooij@users.noreply.github.com >
Co-authored-by: danaaubakirova <d.aubakirova@alumni.edu.kz >
Co-authored-by: Simon Alibert <75076266+aliberts@users.noreply.github.com >
Co-authored-by: Francesco Capuano <francesco_capuano@aol.com >
Co-authored-by: Steven Palma <steven.palma@huggingface.co >
* chore(teleop): print calibration path saved (#1286 )
* chore(dependencies): add gamepad support with pygame and hidapi (#1287 )
* Robot integration tutorial (#1285 )
* fix(docs): update send_feedback docstrings
* Add sim tutorial, fix lekiwi motor config, add notebook links (#1275 )
Co-authored-by: AdilZouitine <adilzouitinegm@gmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Michel Aractingi <michel.aractingi@huggingface.co >
Co-authored-by: s1lent4gnt <kmeftah.khalil@gmail.com >
Co-authored-by: Michel Aractingi <michel.aractingi@gmail.com >
Co-authored-by: Eugene Mironov <helper2424@gmail.com >
Co-authored-by: imstevenpmwork <steven.palma@huggingface.co >
Co-authored-by: Simon Alibert <75076266+aliberts@users.noreply.github.com >
Co-authored-by: Steven Palma <imstevenpmwork@ieee.org >
* Fixes on robot integration tutorial (#1290 )
* Add keyboard teleop device to control the end effector robot (#1289 )
* Improve type hints (#1293 )
* fix(record): no teleop arg in reset environment (#1294 )
* `learner.py` import so101_leader instead of so100 (#1295 )
Co-authored-by: Adil Zouitine <adilzouitinegm@gmail.com >
* Fixing `PI0` Policy (#1297 )
* `gym_manipulator.py` Remove None value action_intervention of BaseLeaderTeleoperator (#1299 )
* (chore): incorrect resume parameter in recording documentation (#1301 )
* Update lekiwi.mdx (#1229 )
* bump `pi0` and `hil` transformers version (#1298 )
* docs: fix imitation learning robots docs command (#1308 )
* fix(benchmarks): remove .numpy() from frame in benchmark script (#1354 )
* add smolvla to the supported policies to run tests (:
* add: chunk-level access for the policy
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add: smolvla in availables
* remove: smolvla from library supported policies
* fix: change env for training, xarm is broken as of now
* add: predict_action_chunk to all supported policies
* fix: add robot type constants
* add: predict action chunk in base policy class
* restore original Makefile
* fix: minor
* fix: dict keys come from lerobot/constants
* fix: improve act encapsulation, properly supporting temporal ensembling
* fix: smolvla action chunking
* fix: very minor, but very annoying
* fix: minor
* fix minor naming
Co-authored-by: Steven Palma <imstevenpmwork@ieee.org >
Signed-off-by: Francesco Capuano <74058581+fracapuano@users.noreply.github.com >
* fix: refactoring inference for single actions and chunks into different components
* fix: minor
* fix: temporal ensembling
* fix: moving populate queues out of modular component for batch preparation
* fix: minor for CI
* fix: smovla debug
* fix: reward classifier, maybe the last policy lacking?
---------
Signed-off-by: Francesco Capuano <74058581+fracapuano@users.noreply.github.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Simon Alibert <75076266+aliberts@users.noreply.github.com >
Co-authored-by: Adil Zouitine <adilzouitinegm@gmail.com >
Co-authored-by: imstevenpmwork <steven.palma@huggingface.co >
Co-authored-by: Pepijn <138571049+pkooij@users.noreply.github.com >
Co-authored-by: Caroline Pascal <caroline8.pascal@gmail.com >
Co-authored-by: Mishig Davaadorj <dmishig@gmail.com >
Co-authored-by: omahs <73983677+omahs@users.noreply.github.com >
Co-authored-by: CharlesCNorton <135471798+CharlesCNorton@users.noreply.github.com >
Co-authored-by: masato-ka <jp6uzv@gmail.com >
Co-authored-by: Ragnar <rodiondenmark@gmail.com >
Co-authored-by: mshukor <mustafa.shukor97@gmail.com >
Co-authored-by: Simon Alibert <simon.alibert@huggingface.co >
Co-authored-by: Steven Palma <imstevenpmwork@ieee.org >
Co-authored-by: Dana Aubakirova <118912928+danaaubakirova@users.noreply.github.com >
Co-authored-by: Remi <remi.cadene@huggingface.co >
Co-authored-by: Ben Zhang <5977478+ben-z@users.noreply.github.com >
Co-authored-by: Pepijn <pepijn@huggingface.co >
Co-authored-by: Dhruva <51377003+utterwqlnut@users.noreply.github.com >
Co-authored-by: Daisuke Sato <tiryoh@gmail.com >
Co-authored-by: Sarunas Kalade <sarunas.kalade@amd.com >
Co-authored-by: koenvanwijk <koenvanwijk@users.noreply.github.com >
Co-authored-by: Yushun Xiang <73413365+YushunXiang@users.noreply.github.com >
Co-authored-by: danaaubakirova <d.aubakirova@alumni.edu.kz >
Co-authored-by: Quentin Gallouédec <45557362+qgallouedec@users.noreply.github.com >
Co-authored-by: Michel Aractingi <michel.aractingi@huggingface.co >
Co-authored-by: Eugene Mironov <helper2424@gmail.com >
Co-authored-by: s1lent4gnt <kmeftah.khalil@gmail.com >
Co-authored-by: Ke Wang <superwk1017@gmail.com >
Co-authored-by: Yoel Chornton <yoel.chornton@gmail.com >
Co-authored-by: Michel Aractingi <michel.aractingi@gmail.com >
Co-authored-by: tidely <43219534+tidely@users.noreply.github.com >
Co-authored-by: David <17435126+DavidLMS@users.noreply.github.com >
2025-06-27 10:19:19 +02:00
Pepijn
0b2285d1ec
Feat: Improve hub integration ( #1382 )
...
* feat(policies): Initial setup to push policies to hub with tags and model card
* feat: add dataset that is used to train
* Add model template summary
* fix: Update link model_card template
* fix: remove print
* fix: change import name
* fix: add model summary in template
* fix: minor text
* fix: comments Lucain
* fix: feedback steven
* fix: restructure push to hub
* fix: remove unneeded changes
* fix: import
* fix: import 2
* Add MANIFEST.in
* fix: feedback pr
* Fix tests
* tests: Add smolvla end-to-end test
* Fix: smolvla test
* fix test name
* fix policy tests
* Add push to hub false policy tests
* Do push to hub cleaner
* fix(ci): add push_to_hub false in tests
---------
Co-authored-by: Steven Palma <steven.palma@huggingface.co >
2025-06-26 14:36:16 +02:00
Jean-Baptiste Cayrou
a989c79558
docs: Fix the SO-100 documentation, the motors configuration step should be before the assembly instructions ( #1315 )
...
Co-authored-by: Pepijn <138571049+pkooij@users.noreply.github.com >
2025-06-26 13:31:32 +02:00
Krzysztof Skrzypski
06450c6777
update assembly instructions to match outputs from setup motors 'python -m lerobot.setup_motors' script ( #1384 )
2025-06-26 12:15:35 +02:00