Commit 2280a7c3 authored by 赵威's avatar 赵威

save result

parent cf4db7d7
......@@ -143,7 +143,7 @@ def save_diary_similarity(load_file, index_path, face_to_vec_f):
for line in lines:
count += 1
tmp = line.split("\t")
id = tmp[0]
id = str(tmp[0])
feature = np.array(json.loads(tmp[1]))
print("{} {}".format(count, id))
tup_res = get_similar_diary_ids_by_face_features(feature, index_path, face_to_vec_f)
......
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