Facial-Recognition-using-Facenet icon indicating copy to clipboard operation
Facial-Recognition-using-Facenet copied to clipboard

shape_predictor_5_face_landmarks.dat

Open hsm4703 opened this issue 5 years ago • 0 comments

i use 5 landmark.dat but appear some error

C:\Facial-Recognition-using-Facenet-master>python rec-feat.py Using TensorFlow backend. 2019-06-27 16:42:10.730621: I T:\src\github\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 2019-06-27 16:42:10.957470: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1392] Found device 0 with properties: name: GeForce GTX 1060 6GB major: 6 minor: 1 memoryClockRate(GHz): 1.7085 pciBusID: 0000:01:00.0 totalMemory: 6.00GiB freeMemory: 4.96GiB 2019-06-27 16:42:10.961398: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1471] Adding visible gpu devices: 0 2019-06-27 16:42:11.545961: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:952] Device interconnect StreamExecutor with strength 1 edge matrix: 2019-06-27 16:42:11.548929: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:958] 0 2019-06-27 16:42:11.551175: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:971] 0: N 2019-06-27 16:42:11.552894: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1084] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4726 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1060 6GB, pci bus id: 0000:01:00.0, compute capability: 6.1) C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\keras\models.py:282: 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 Traceback (most recent call last): File "rec-feat.py", line 113, in recognize() File "rec-feat.py", line 97, in recognize leftEAR = eye_aspect_ratio(leftEye) File "rec-feat.py", line 20, in eye_aspect_ratio A = distance.euclidean(eye[1], eye[5]) IndexError: index 1 is out of bounds for axis 0 with size 0 [ WARN:1] terminating async callback

hsm4703 avatar Jun 27 '19 08:06 hsm4703