Commit b773aebf authored by 赵威's avatar 赵威

update printer

parent a1d94d40
...@@ -66,7 +66,7 @@ def save_diary_image_info(save_file, face_to_vec_f): ...@@ -66,7 +66,7 @@ def save_diary_image_info(save_file, face_to_vec_f):
img = url_to_ndarray(after_cover_url) img = url_to_ndarray(after_cover_url)
if img.any(): if img.any():
count += 1 count += 1
print("count: " + str(count)) print("count: " + str(count) + " " + str(diary_id))
faces = face_to_vec_f(img) faces = face_to_vec_f(img)
for face in faces: for face in faces:
line = str(diary_id) + "\t" + face["feature"] + "\n" line = str(diary_id) + "\t" + face["feature"] + "\n"
......
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