Skip to content

Commit

Permalink
update train script
Browse files Browse the repository at this point in the history
  • Loading branch information
hsvgbkhgbv committed Nov 1, 2021
1 parent 603fcba commit a996f0e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions train_case141.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
if [ ! -d $3 ]
then
mkdir $3
fi


export CUDA_VISIBLE_DEVICES=1
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 &
export CUDA_VISIBLE_DEVICES=1
Expand Down
6 changes: 6 additions & 0 deletions train_case322.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
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
Expand Down
6 changes: 6 additions & 0 deletions train_case33.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
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
Expand Down

0 comments on commit a996f0e

Please sign in to comment.