File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change
1
+ if [ ! -d $3 ]
2
+ then
3
+ mkdir $3
4
+ fi
5
+
6
+
1
7
export CUDA_VISIBLE_DEVICES=1
2
8
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 &
3
9
export CUDA_VISIBLE_DEVICES=1
Original file line number Diff line number Diff line change
1
+ if [ ! -d $3 ]
2
+ then
3
+ mkdir $3
4
+ fi
5
+
6
+
1
7
export CUDA_VISIBLE_DEVICES=0
2
8
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 &
3
9
export CUDA_VISIBLE_DEVICES=0
Original file line number Diff line number Diff line change
1
+ if [ ! -d $3 ]
2
+ then
3
+ mkdir $3
4
+ fi
5
+
6
+
1
7
export CUDA_VISIBLE_DEVICES=1
2
8
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 &
3
9
export CUDA_VISIBLE_DEVICES=1
You can’t perform that action at this time.
0 commit comments