Commit cbda9373 authored by 赵威's avatar 赵威

update models path

parent 158c9be0
......@@ -33,13 +33,13 @@ if __name__ == "__main__":
diary_save_path = get_essm_model_save_path("diary")
if not diary_save_path:
diary_save_path = "/data/files/models/diary/1597050209"
diary_save_path = "/data/files/models/diary/1597390452"
print(diary_save_path + "!!!!!!!!!!!!!!!!!!!!!!!!!!!")
diary_predict_fn = tf.contrib.predictor.from_saved_model(diary_save_path)
tractate_save_path = get_essm_model_save_path("tractate")
if not tractate_save_path:
tractate_save_path = "/data/files/models/tractate/1596509299"
tractate_save_path = "/data/files/models/tractate/1597390051"
print(tractate_save_path + "!!!!!!!!!!!!!!!!!!!!!!!!!!!")
tractate_predict_fn = tf.contrib.predictor.from_saved_model(tractate_save_path)
......
......@@ -80,13 +80,13 @@ def main():
diary_save_path = get_essm_model_save_path("diary")
if not diary_save_path:
diary_save_path = "/data/files/models/diary/1597379800"
diary_save_path = "/data/files/models/diary/1597390452"
print(diary_save_path + "!!!!!!!!!!!!!!!!!!!!!!!!!!!")
diary_predict_fn = tf.contrib.predictor.from_saved_model(diary_save_path)
tractate_save_path = get_essm_model_save_path("tractate")
if not tractate_save_path:
tractate_save_path = "/data/files/models/tractate/1597378202"
tractate_save_path = "/data/files/models/tractate/1597390051"
print(tractate_save_path + "!!!!!!!!!!!!!!!!!!!!!!!!!!!")
tractate_predict_fn = tf.contrib.predictor.from_saved_model(tractate_save_path)
......
......@@ -45,13 +45,13 @@ if __name__ == "__main__":
diary_save_path = get_essm_model_save_path("diary")
if not diary_save_path:
diary_save_path = "/data/files/models/diary/1597379800"
diary_save_path = "/data/files/models/diary/1597390452"
print(diary_save_path + "!!!!!!!!!!!!!!!!!!!!!!!!!!!")
diary_predict_fn = tf.contrib.predictor.from_saved_model(diary_save_path)
tractate_save_path = get_essm_model_save_path("tractate")
if not tractate_save_path:
tractate_save_path = "/data/files/models/tractate/1597378202"
tractate_save_path = "/data/files/models/tractate/1597390051"
print(tractate_save_path + "!!!!!!!!!!!!!!!!!!!!!!!!!!!")
tractate_predict_fn = tf.contrib.predictor.from_saved_model(tractate_save_path)
......
......@@ -77,7 +77,7 @@ def main():
print("============================================================")
# save_path = str(Path("~/Desktop/models/1596012827").expanduser()) # local
# save_path = "/data/files/models/diary/1596083349" # server
# save_path = "/data/files/models/diary/1597390452" # server
# tf.saved_model.load
......
......@@ -74,7 +74,7 @@ def main():
print("============================================================")
# # save_path = str(Path("~/data/models/tractate/1596089465").expanduser()) # local
# save_path = "/data/files/models/tractate/1596092061" # server
# save_path = "/data/files/models/tractate/1597390051" # server
predict_fn = tf.contrib.predictor.from_saved_model(save_path)
device_dict = device_fe.get_device_dict_from_redis()
......
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