forked from facebookresearch/deep_bisim4control
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_local.sh
executable file
·32 lines (29 loc) · 860 Bytes
/
run_local.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
26
27
28
29
30
31
32
#!/bin/bash
DOMAIN=cartpole
TASK=swingup
SAVEDIR=./save
MUJOCO_GL="osmesa" LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/nvidia-opengl/:$LD_LIBRARY_PATH CUDA_VISIBLE_DEVICES=1 python train.py \
--domain_name ${DOMAIN} \
--task_name ${TASK} \
--agent 'bisim' \
--init_steps 1000 \
--num_train_steps 1000000 \
--encoder_type pixel \
--decoder_type pixel \
--img_source video \
--resource_files 'distractors/*.mp4' \
--transition_model_type 'probabilistic' \
--action_repeat 2 \
--critic_tau 0.01 \
--encoder_tau 0.05 \
--decoder_weight_lambda 0.0000001 \
--hidden_dim 1024 \
--total_frames 1000 \
--num_layers 4 \
--num_filters 32 \
--batch_size 128 \
--init_temperature 0.1 \
--alpha_lr 1e-4 \
--alpha_beta 0.5 \
--work_dir ${SAVEDIR}/${DOMAIN}_${TASK} \
--seed 1 $@