huggingface / lerobot

🤗 LeRobot: Making AI for Robotics more accessible with end-to-end learning
Apache License 2.0
6.54k stars 582 forks source link

Improvement: Update normalization in ACT + remove in-place modification + add test #281

Open thomwolf opened 3 months ago

thomwolf commented 3 months ago

What this does

This PR work on the Normalization in ACT to:

The reasons for these proposals are as follow:

How it was tested

Added extensive tests for the behavior in tests/test_policies.py::test_normalize

How to checkout & try? (for the reviewer)

Run the tests:

pytest ./tests/test_policies.py::test_normalize

This change is Reviewable