forked from pairlab/QueST
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfinetune.sh
executable file
·25 lines (22 loc) · 927 Bytes
/
finetune.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# This script is used to train stage 2 i.e. finetuning Quest for downstream tasks
python train.py --config-name=train_fewshot.yaml \
task=libero_long \
algo=quest \
exp_name=final \
variant_name=block_32_ds_4 \
training.use_tqdm=false \
training.save_all_checkpoints=true \
training.use_amp=false \
train_dataloader.persistent_workers=true \
train_dataloader.num_workers=6 \
make_unique_experiment_dir=false \
algo.skill_block_size=32 \
algo.downsample_factor=4 \
algo.l1_loss_scale=10 \
training.auto_continue=true \
rollout.num_parallel_envs=5 \
rollout.rollouts_per_env=5 \
seed=0
# Note1: training.auto_continue will automatically load the latest checkpoint from the previous training stage.
# Else you can specify the checkpoint_path to load a specific checkpoint.
# Note2: algo.l1_loss_scale is used to finetune the decoder of the autoencoder.