How can I train a robot policy without connecting a robot to the cloud?
A recorded demonstration contains observations and actions. LeRobot can use those pairs to train an ACT imitation policy on a rented GPU while the physical robot stays offline. The CloudGPU notebook uses the public PushT dataset. Its pinned revision contains 206 episodes and 25,650 frames, with a 96 × 96 camera image, a two-value state and a two-value action. Inspect the dataset metadata.
What happens when I open the template?
- Download the ACT notebook to inspect it, or choose a GPU for LeRobot. Check the quoted GPU, disk and minimum billing period before confirming.
- Open the notebook in JupyterLab under the SSH user’s home directory, in the CloudGPU folder. If your file browser starts elsewhere, upload the downloaded notebook into your working directory.
- Run the cells in sequence. They create a Python 3.12 environment, install LeRobot 0.7.0 and check CUDA before training. The dataset and dependencies download on the instance. A failed CUDA check calls for checking the driver and PyTorch build before starting training.
- The example runs 20 optimizer steps with a batch size of two and a checkpoint interval of ten steps. Export the checkpoint directory with the training configuration and optimizer state before releasing the instance. The last section includes the resume command. Evaluate a learned policy in simulation before considering a hardware trial.
On November 30, 2026, we tested the pinned PushT dataset with LeRobot 0.7.0 on CPU. ACT wrote model and optimizer files after two updates, then loaded the saved configuration and completed a third update. Policy success rate, elapsed GPU time, peak VRAM and total cost still need measurement on the selected GPU. Rental time can include downloads and export. Stop or release the instance according to the quote once your files are safe. LeRobot training implementation
Which training template should I use?
Choose ACT when you already have demonstrations. Choose Stable-Baselines3 PPO when you want an agent to learn by acting in simulation and receiving rewards. The included CartPole task runs on CPU. Choose PyTorch CUDA to check device access, train a small classifier and confirm checkpoint reload before moving a custom training loop to a rental.
How do I tell whether a robot policy generalizes?
Hold out complete demonstration episodes before constructing training windows. With PushT, two neighboring frames can show nearly the same scene and action. Track validation loss on the held-out episodes, then roll out the policy in simulation and report completed tasks over attempted episodes, with the starting conditions. A checkpoint reload verifies that training can resume. A rollout tests what the robot would actually do over multiple steps. On hardware, also check camera orientation, action units and control frequency against the demonstration setup.
For a device that outputs a class such as idle or running, see training and validating a sensor classifier.