2024-01-29 20:49:30 +08:00
|
|
|
# LeRobot
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
Install dependencies using `conda`:
|
|
|
|
|
|
|
|
```
|
|
|
|
conda env create -f environment.yaml
|
|
|
|
conda activate lerobot
|
|
|
|
```
|
|
|
|
|
2024-01-31 07:30:14 +08:00
|
|
|
**dev**
|
|
|
|
|
|
|
|
```
|
|
|
|
python setup.py develop
|
|
|
|
```
|
|
|
|
|
2024-02-22 20:14:12 +08:00
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
|
|
### Train
|
|
|
|
|
|
|
|
```
|
|
|
|
python lerobot/scripts/train.py \
|
|
|
|
--config-name=pusht hydra.job.name=pusht
|
|
|
|
```
|
|
|
|
|
|
|
|
### Visualize offline buffer
|
|
|
|
|
|
|
|
```
|
|
|
|
python lerobot/scripts/visualize_dataset.py \
|
|
|
|
--config-name=pusht hydra.run.dir=tmp/$(date +"%Y_%m_%d")
|
|
|
|
```
|
|
|
|
|
|
|
|
### Visualize online buffer / Eval
|
|
|
|
|
|
|
|
```
|
|
|
|
python lerobot/scripts/eval.py \
|
|
|
|
--config-name=pusht hydra.run.dir=tmp/$(date +"%Y_%m_%d")
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2024-02-16 23:13:24 +08:00
|
|
|
## TODO
|
|
|
|
|
2024-02-16 23:14:59 +08:00
|
|
|
- [x] priority update doesnt match FOWM or original paper
|
|
|
|
- [x] self.step=100000 should be updated at every step to adjust to horizon of planner
|
2024-02-16 23:13:24 +08:00
|
|
|
- [ ] prefetch replay buffer to speedup training
|
|
|
|
- [ ] parallelize env to speedup eval
|
2024-02-17 00:27:54 +08:00
|
|
|
- [ ] clean checkpointing / loading
|
|
|
|
- [ ] clean logging
|
|
|
|
- [ ] clean config
|
|
|
|
- [ ] clean hyperparameter tuning
|
|
|
|
- [ ] add pusht
|
|
|
|
- [ ] add aloha
|
|
|
|
- [ ] add act
|
|
|
|
- [ ] add diffusion
|
|
|
|
- [ ] add aloha 2
|
2024-02-10 23:46:24 +08:00
|
|
|
|
2024-01-31 07:30:14 +08:00
|
|
|
## Contribute
|
|
|
|
|
|
|
|
**style**
|
|
|
|
```
|
2024-02-16 23:13:24 +08:00
|
|
|
isort lerobot
|
|
|
|
black lerobot
|
|
|
|
isort test
|
|
|
|
black test
|
2024-01-31 07:30:14 +08:00
|
|
|
pylint lerobot
|
|
|
|
```
|