Commit 284560ba authored by 赵威's avatar 赵威

save diary res

parent 4d0b8c8f
......@@ -175,11 +175,7 @@ def main():
# save_diary_image_info(diary_after_cover_vec_file, face_to_vec_f)
# save_faiss_index(diary_after_cover_vec_file, faiss_index_path)
faiss_index = faiss.read_index(
faiss_index_path,
faiss_index_path,
face_to_vec_f,
)
faiss_index = faiss.read_index(faiss_index_path)
# imgs = [
# "https://pic.igengmei.com/2020/07/03/1437/1b9975bb0b81-w", "https://pic.igengmei.com/2020/07/01/1812/ca64827a83da-w",
......
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