Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gm_strategy_cvr
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rank
gm_strategy_cvr
Commits
10a3a8bf
Commit
10a3a8bf
authored
Aug 14, 2020
by
赵威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update train script
parent
32e0e127
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
ctcvr_train.sh
ctcvr_train.sh
+5
-6
No files found.
ctcvr_train.sh
View file @
10a3a8bf
if
!
ps aux |
grep
src/train_diary.py |
grep
-v
grep
if
[
-z
$1
]
;
then
then
nohup
/home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/train_diary.py
>
~/ctcvr_diary.log &
echo
"You should input one parameter"
fi
elif
[
$1
==
"diary"
]
||
[
$1
==
"tractate"
]
;
if
!
ps aux |
grep
src/train_tractate.py |
grep
-v
grep
then
then
nohup
/home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/train_tractate.py
>
~/ctcvr_tractate.log &
echo
$1
;
nohup
/home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/train_
$1
.py
>
~/ctcvr_
$1
.log &
fi
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment