-
Notifications
You must be signed in to change notification settings - Fork 54
/
train_case33.sh
22 lines (20 loc) · 1.5 KB
/
train_case33.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
if [ ! -d $3 ]
then
mkdir $3
fi
export CUDA_VISIBLE_DEVICES=1
nohup python train.py --alg coma --alias $1 --mode distributed --scenario case33_3min_final --voltage-barrier-type $2 --save-path $3 > coma_33_$1_$2.out &
export CUDA_VISIBLE_DEVICES=1
nohup python train.py --alg iddpg --alias $1 --mode distributed --scenario case33_3min_final --voltage-barrier-type $2 --save-path $3 > iddpg_33_$1_$2.out &
export CUDA_VISIBLE_DEVICES=1
nohup python train.py --alg ippo --alias $1 --mode distributed --scenario case33_3min_final --voltage-barrier-type $2 --save-path $3 > ippo_33_$1_$2.out &
export CUDA_VISIBLE_DEVICES=0
nohup python train.py --alg matd3 --alias $1 --mode distributed --scenario case33_3min_final --voltage-barrier-type $2 --save-path $3 > matd3_33_$1_$2.out &
export CUDA_VISIBLE_DEVICES=0
nohup python train.py --alg maddpg --alias $1 --mode distributed --scenario case33_3min_final --voltage-barrier-type $2 --save-path $3 > maddpg_33_$1_$2.out &
export CUDA_VISIBLE_DEVICES=0
nohup python train.py --alg mappo --alias $1 --mode distributed --scenario case33_3min_final --voltage-barrier-type $2 --save-path $3 > mappo_33_$1_$2.out &
# export CUDA_VISIBLE_DEVICES=0
# nohup python train.py --alg maac --alias $1 --mode distributed --scenario case33_3min_final --voltage-barrier-type $2 --save-path $3 > maac_33_$1_$2.out &
export CUDA_VISIBLE_DEVICES=0
nohup python train.py --alg sqddpg --alias $1 --mode distributed --scenario case33_3min_final --voltage-barrier-type $2 --save-path $3 > sqddpg_33_$1_$2.out &