Commit 3253f8fc authored by 赵威's avatar 赵威

update model path

parent cfdcde86
......@@ -6,7 +6,6 @@ import timeit
from datetime import datetime
from pathlib import Path
import pandas as pd
import tensorflow as tf
from sklearn.model_selection import train_test_split
......@@ -65,7 +64,7 @@ def main():
print("save to: " + save_path)
# save_path = str(Path("~/Desktop/models/1596012827").expanduser()) # local
# save_path = "/home/gmuser/data/models/1596012827" # server
# save_path = "/home/gmuser/data/models/1596018742" # server
# tf.saved_model.load
......
......@@ -60,7 +60,7 @@ def main():
diary_dict = get_diary_dict_from_redis()
print("redis data: " + str(len(device_dict)) + " " + str(len(diary_dict)))
save_path = "/home/gmuser/data/models/1595903865"
save_path = "/home/gmuser/data/models/1596018742"
predict_fn = tf.contrib.predictor.from_saved_model(save_path)
# device_id = "androidid_a25a1129c0b38f7b"
......
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