Commit 5c3a43c8 authored by 赵威's avatar 赵威

get data

parent 08f2d679
...@@ -201,7 +201,10 @@ def main(): ...@@ -201,7 +201,10 @@ def main():
tmp = line.split("\t") tmp = line.split("\t")
id = tmp[0] id = tmp[0]
feature = np.array(json.loads(tmp[1])) feature = np.array(json.loads(tmp[1]))
print("{} {} {}".format(count, id, feature)) print("{} {}".format(count, id))
res = get_similar_diary_ids_by_face_features(a, faiss_index, face_to_vec_f)
print(res)
print("=========================")
if __name__ == "__main__": if __name__ == "__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