Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Issue 2: Reduced the batch size and num_workers for computing stats. #4

Closed

Conversation

shantanuparab-tr
Copy link
Collaborator

What this does

Title Label
Fixes #2 (🐛 Bug)
Reduce the batch size and workers used for computing dataset stats. The code crashes while computing the dataset statistics on low performance systems.

Run the lerobot/scripts/control_robot.py script. You will notice the program no longer crashes and completes the execution.

  • Reduced batch_size and num_workers in lerobot/scripts/control_robot.py.

Run the below command to test the changes.

Examples:

python lerobot/scripts/control_robot.py record \
   --robot-path lerobot/configs/robot/aloha.yaml \
   --fps 30 \
   --root data \
   --repo-id ${HF_USER}/aloha_test \
   --tags tutorial \
   --warmup-time-s 5 \
   --episode-time-s 30 \
   --reset-time-s 30 \
   --num-episodes 2

@shantanuparab-tr shantanuparab-tr closed this by deleting the head repository Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Program gets killed while computing dataset statistics.
1 participant