akshaybahadur21 / Facial-Recognition-using-Facenet

A simple implementation of facial recognition using facenets for humans 🧔 🔍
MIT License
278 stars 143 forks source link

ValueError: invalid literal for int() with base 10: 'bhargav15' #22

Closed bhargavravat closed 3 years ago

bhargavravat commented 5 years ago

Using TensorFlow backend. 2019-07-29 18:07:21.830389: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA /home/bhargav/anaconda3/lib/python3.6/site-packages/keras/engine/saving.py:292: UserWarning: No training configuration found in save file: the model was not compiled. Compile it manually. warnings.warn('No training configuration found in save file: ' Total Params: 3743280 distance for bhargav15 is 0.07610167 bhargav15 Traceback (most recent call last): File "rec-feat.py", line 116, in recognize() File "rec-feat.py", line 107, in recognize extract_face_info(img, img_rgb, database,ear) File "rec-feat.py", line 63, in extract_face_info name, min_dist = recognize_face(image, database) File "rec-feat.py", line 45, in recognize_face print(int(identity)) ValueError: invalid literal for int() with base 10: `'bhargav15'

parasjain-12 commented 4 years ago

You are facing this error because you have saved your images by name in "images" folder . Please save it by Id

akshaybahadur21 commented 3 years ago

Closing since the issue is resolved.