Commit 17409684 authored by 赵威's avatar 赵威

update path

parent 90662af1
......@@ -77,15 +77,15 @@ def main():
tractate_dict = tractate_fe.get_tractate_dict_from_redis()
print("redis data: " + str(len(device_dict)) + " " + str(len(diary_dict)) + " " + str(len(tractate_dict)))
diary_save_path = "/home/gmuser/data/models/diary/1596423214"
diary_save_path = "/home/gmuser/data/models/diary/1596509008"
diary_predict_fn = tf.contrib.predictor.from_saved_model(diary_save_path)
tractate_save_path = "/home/gmuser/data/models/tractate/1596426037"
tractate_save_path = "/home/gmuser/data/models/tractate/1596509299"
tractate_predict_fn = tf.contrib.predictor.from_saved_model(tractate_save_path)
device_id = "androidid_a25a1129c0b38f7b"
offline_predict_diary(device_id, device_dict, diary_dict, diary_predict_fn)
offline_predict_tractate(device_id, device_dict, tractate_dict, tractate_predict_fn)
# device_id = "androidid_a25a1129c0b38f7b"
# offline_predict_diary(device_id, device_dict, diary_dict, diary_predict_fn)
# offline_predict_tractate(device_id, device_dict, tractate_dict, tractate_predict_fn)
# res = user_portrait_tag3_get_candidate_unread_list(device_id, "diary")
# print(len(res))
......
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