-
Notifications
You must be signed in to change notification settings - Fork 54
/
train_case322.sh
22 lines (20 loc) · 1.51 KB
/
train_case322.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=0
nohup python train.py --alg coma --alias $1 --mode distributed --scenario case322_3min_final --voltage-barrier-type $2 --save-path $3 > coma_322_$1_$2.out &
export CUDA_VISIBLE_DEVICES=0
nohup python train.py --alg iddpg --alias $1 --mode distributed --scenario case322_3min_final --voltage-barrier-type $2 --save-path $3 > iddpg_322_$1_$2.out &
export CUDA_VISIBLE_DEVICES=0
nohup python train.py --alg ippo --alias $1 --mode distributed --scenario case322_3min_final --voltage-barrier-type $2 --save-path $3 > ippo_322_$1_$2.out &
# export CUDA_VISIBLE_DEVICES=0
# nohup python train.py --alg maac --alias $1 --mode distributed --scenario case322_3min_final --voltage-barrier-type $2 --save-path $3 > maac_322_$1_$2.out &
export CUDA_VISIBLE_DEVICES=0
nohup python train.py --alg maddpg --alias $1 --mode distributed --scenario case322_3min_final --voltage-barrier-type $2 --save-path $3 > maddpg_322_$1_$2.out &
export CUDA_VISIBLE_DEVICES=1
nohup python train.py --alg mappo --alias $1 --mode distributed --scenario case322_3min_final --voltage-barrier-type $2 --save-path $3 > mappo_322_$1_$2.out &
export CUDA_VISIBLE_DEVICES=1
nohup python train.py --alg matd3 --alias $1 --mode distributed --scenario case322_3min_final --voltage-barrier-type $2 --save-path $3 > matd3_322_$1_$2.out &
export CUDA_VISIBLE_DEVICES=1
nohup python train.py --alg sqddpg --alias $1 --mode distributed --scenario case322_3min_final --voltage-barrier-type $2 --save-path $3 > sqddpg_322_$1_$2.out &