We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FileNotFoundError Traceback (most recent call last) in 1 # add a user ----> 2 add_user_img_path(user_db, FRmodel, "susanta", "images/2.jpg")
in add_user_img_path(user_db, FRmodel, name, img_path) 4 user_db[name] = img_to_encoding(img_path, FRmodel) 5 # save the database ----> 6 with open('database/user_dict.pickle', 'wb') as handle: 7 pickle.dump(user_db, handle, protocol=pickle.HIGHEST_PROTOCOL) 8 print('User ' + name + ' added successfully')
FileNotFoundError: [Errno 2] No such file or directory: 'database/user_dict.pickle'
@susantabiswas
How to handle it ?
The text was updated successfully, but these errors were encountered:
Solved
https://github.com/susantabiswas/FaceRecog/blob/07f8f55ea70c9f06d3fbad55427707a5cd96524a/database/user_dict.pickle
Sorry, something went wrong.
No branches or pull requests
FileNotFoundError Traceback (most recent call last)
in
1 # add a user
----> 2 add_user_img_path(user_db, FRmodel, "susanta", "images/2.jpg")
in add_user_img_path(user_db, FRmodel, name, img_path)
4 user_db[name] = img_to_encoding(img_path, FRmodel)
5 # save the database
----> 6 with open('database/user_dict.pickle', 'wb') as handle:
7 pickle.dump(user_db, handle, protocol=pickle.HIGHEST_PROTOCOL)
8 print('User ' + name + ' added successfully')
FileNotFoundError: [Errno 2] No such file or directory: 'database/user_dict.pickle'
@susantabiswas
How to handle it ?
The text was updated successfully, but these errors were encountered: