Commit a449b605 authored by 赵威's avatar 赵威

save result

parent f3af225a
......@@ -154,8 +154,8 @@ def save_diary_similarity(load_file, index_path, face_to_vec_f):
key = random.choice(list(res_dict.keys()))
print(res_dict[key])
# redis_key = "doris:diary:face_similary"
# redis_client3.hmset(redis_key, res_dict)
redis_key = "doris:diary:face_similary"
redis_client3.hmset(redis_key, res_dict)
def main():
......
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