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
cc22d34b
Commit
cc22d34b
authored
Sep 03, 2020
by
赵威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update tractate save
parent
31aa4e0e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
train_tractate.py
src/train_tractate.py
+4
-4
No files found.
src/train_tractate.py
View file @
cc22d34b
...
@@ -81,11 +81,11 @@ def main():
...
@@ -81,11 +81,11 @@ def main():
record_esmm_auc_to_db
(
"tractate"
,
ctr_auc
,
ctcvr_auc
,
total_time
,
save_path
)
record_esmm_auc_to_db
(
"tractate"
,
ctr_auc
,
ctcvr_auc
,
total_time
,
save_path
)
print
(
"============================================================"
)
print
(
"============================================================"
)
save_path
=
get_essm_model_save_path
(
"tractate"
)
#
save_path = get_essm_model_save_path("tractate")
print
(
"load path: "
+
save_path
)
#
print("load path: " + save_path)
save_path
=
str
(
Path
(
"~/data/models/tractate/1598236893"
)
.
expanduser
())
# local
#
save_path = str(Path("~/data/models/tractate/1598236893").expanduser()) # local
save_path
=
"/data/files/models/tractate/1599128140"
# server
#
save_path = "/data/files/models/tractate/1599128140" # server
predict_fn
=
tf
.
contrib
.
predictor
.
from_saved_model
(
save_path
)
predict_fn
=
tf
.
contrib
.
predictor
.
from_saved_model
(
save_path
)
device_dict
=
device_fe
.
get_device_dict_from_redis
()
device_dict
=
device_fe
.
get_device_dict_from_redis
()
...
...
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