Lesson #1 - axis 1 is out of bounds for array of dimension 1
Working on Face Comparisons, Ended up error using face_recognition.compare_faces method.
This link was useful https://github.com/ageitgey/face_recognition/issues/328
bad one: face_recognition.compare_faces(encoding,person_encoding):
good one: face_recognition.compare_faces([encoding],person_encoding)
Lesson #2 - “RuntimeError: dictionary changed size during iteration” error?
Reason - Modified the dictionary while iterating the elements
Fix - Fixed it by modifying it outside the loop
A lot of simple design choices, end to end thinking keeps changing while building the solution
Datasets - Link
Happy Learning!!!
Working on Face Comparisons, Ended up error using face_recognition.compare_faces method.
This link was useful https://github.com/ageitgey/face_recognition/issues/328
bad one: face_recognition.compare_faces(encoding,person_encoding):
good one: face_recognition.compare_faces([encoding],person_encoding)
Lesson #2 - “RuntimeError: dictionary changed size during iteration” error?
Reason - Modified the dictionary while iterating the elements
Fix - Fixed it by modifying it outside the loop
A lot of simple design choices, end to end thinking keeps changing while building the solution
Datasets - Link
Happy Learning!!!