Configs
We adopt hydra and provide a configuration file configs/default.yaml to configure the settings before running experiments. Here we explain some notable terms.
Path
base_root. Base directory.data_root. The directory of data.asset_root. The directory of asset samples and materials.output_root. The directory to save experiment outputs.
Task and model
mode. Eithertrainoreval.task. Task name for single-task,multifor multi-task.model. One ofcliport6d,peract,bc_lang_cnn,bc_lang_vit.lang_encoder. One ofclip,none,t5,roberta.state_head. Whether using an additional state head, either0or1.
Running arguments
batch_size.8for training and1for evaluation.steps. Training steps, default at 100k.log_interval. The step interval between logging behavior during training.save_interval. The step interval between checkpoint saving during training.use_gt. For evaluation, twoboolvalues indicating whether to use ground-truth keypoints for each phase.visualize: For evaluation, keep rendering ifTrue. Setting toFalsecan accelerate evaluation.
Environment
offset_bound. The perception bound, used to crop a cube centered at the robot, represented in [x1, y1, z1, x2, y2, z2], in m.iso_surface. Whether enabling realistic fluid simulation.
PerAct
t5_cfg. The path of pre-trained T5 model.roberta_cfg. The path of pre-trained RoBERTa model.
In addition to configuring the settings in yaml file, we can also configure them when running commands, e.g.,
python eval.py task=pickup_object model=peract lang_encoder=clip mode=eval use_gt=[0,0] visualize=0