rlbench_exp.md
October 6, 2024 · View on GitHub
🚶Evaluate Proprioceptive Pointcloud Transformer (PPT) only on RLBench
First you should install RLBench dependencies following this repository.
Generate demonstrations
- Change the environments in
gensim2/env/utils/rlbench.py - Run
python scripts/rlbench_data_collection_mp.py --nprocs 32 --obs_mode pointcloud --random --asset_id 'random' ---save --num_episodes 100(use--saveto save collected data onto disks,--randomis for randomization)
Train&Test multi-task policies
- Choose the config in
gensim2/agent/experiments/configs/envand replace the name ingensim2/agent/experiments/configs/config.yaml, Line 14. Parameterdomainsdetermine the name of dataset. - Run
python agent/run.py \ # Train
suffix=name_of_the_run \
dataset.action_horizon=4 \ # predicted action sequence, has to be 1 for MLP head
dataset.observation_horizon=3 \ # historical observation horizon
train.total_epochs=0 # training epochs
python agent/run.py \ # Test
suffix=name_of_the_run \
dataset.observation_horizon=3 \
train.total_epochs=0 \ # to prevent from re-training
train.pretrained_dir=relative_path_to_the_model.pth \
network.openloop_steps=${openloop_steps} \ # openloop actions
temporal_agg=False; # trick as in ACT, this will make openloop_steps=1 only