Commit b64c2ee0 authored by 赵威's avatar 赵威

update train script

parent 10a3a8bf
......@@ -4,5 +4,8 @@ then
elif [ $1 == "diary" ] || [ $1 == "tractate" ];
then
echo $1;
nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/train_$1.py > ~/ctcvr_$1.log &
if ! ps aux | grep src/train_$1.py | grep -v grep
then
nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/train_$1.py > ~/ctcvr_$1.log &
fi
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment