Skip to content

Commit

Permalink
Add end-to-end pusht eval test
Browse files Browse the repository at this point in the history
  • Loading branch information
aliberts committed Mar 9, 2024
1 parent fa7a947 commit c6fb40f
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,22 @@ jobs:
hydra.job.name=pusht \
env=pusht \
wandb.enable=False \
offline_steps=1 \
offline_steps=2 \
online_steps=0 \
device=cpu
# TODO(rcadene, aliberts): Add end-to-end test of eval checkpoint post training
# - name: Test eval pusht end-to-end
# run: |
# source .venv/bin/activate
# python lerobot/scripts/eval.py
# hydra.job.name=pusht \
# env=pusht \
# wandb.enable=False \
# eval_episodes=1 \
# device=cpu
device=cpu \
save_model=true \
save_freq=1 \
hydra.run.dir=tests/outputs/
- name: Test eval pusht end-to-end
run: |
source .venv/bin/activate
python lerobot/scripts/eval.py
hydra.job.name=pusht \
env=pusht \
wandb.enable=False \
eval_episodes=1 \
device=cpu \
policy.pretrained_model_path=tests/outputs/models/1.pt
#----------------------------------------------
# cleanup
#----------------------------------------------
Expand Down

0 comments on commit c6fb40f

Please sign in to comment.