Skip to content

intuitive-robots/lerobot-irl-models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementation of IRL models in LeRobot

Models

Flower Model

For Training Flower model:

  1. Create conda env as described here:
  2. Change in the config file your settings and train.sh
  3. Run the training script: sbatch train.sh

For evaluation:

  1. Conda env see below
  2. Set in real_robot_sim the right parameters for the FrankaArm
  3. Add dataset stats to your config file
  4. Run eval_flower.py

Pi0/0.5 Model

For Training Pi0 model:

  1. Create conda env as described here: https://huggingface.co/docs/lerobot/en/pi0
  2. Change in the config file your settings and train.sh
  3. Run the training script: sbatch train.sh

For evaluation:

groot Model

For Training groot model:

  1. Create conda env as described here: https://huggingface.co/docs/lerobot/en/groot + pip install hydra-core
  2. Change in the config file your settings and train.sh
  3. Run the training script: sbatch train.sh

For evaluation:

Instructions

Use pyav as video backend, because there are problems with torchcodec on Horeka.

Evaluation on real robot:

  1. Install Novometis with the commands from real robot and name the env lerobot-irl-models
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/test/cu124

pip install 'lerobot[all]'
pip install -r requirements.txt
  1. Test if it works and install remaining dependencies

DO NOT USE:

No evaluation on real robot:

conda create --name lerobot-irl-models python=3.10
conda activate lerobot-irl-models
conda install black isort pre-commit -c conda-forge
pre-commit install
pre-commit run
pip3 install torch --index-url https://download.pytorch.org/whl/test/cu124
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/test/cu124
pip install -r requirements.txt
pip install lerobot
conda install -c conda-forge ffmpeg

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •