Skip to content

Commit a996f0e

Browse files
committed
update train script
1 parent 603fcba commit a996f0e

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

train_case141.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
if [ ! -d $3 ]
2+
then
3+
mkdir $3
4+
fi
5+
6+
17
export CUDA_VISIBLE_DEVICES=1
28
nohup python train.py --alg coma --alias $1 --mode distributed --scenario case141_3min_final --voltage-barrier-type $2 --save-path $3 > coma_141_$1_$2.out &
39
export CUDA_VISIBLE_DEVICES=1

train_case322.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
if [ ! -d $3 ]
2+
then
3+
mkdir $3
4+
fi
5+
6+
17
export CUDA_VISIBLE_DEVICES=0
28
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 &
39
export CUDA_VISIBLE_DEVICES=0

train_case33.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
if [ ! -d $3 ]
2+
then
3+
mkdir $3
4+
fi
5+
6+
17
export CUDA_VISIBLE_DEVICES=1
28
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 &
39
export CUDA_VISIBLE_DEVICES=1

0 commit comments

Comments
 (0)