nyoki-mtl / keras-facenet

Facenet implementation by Keras2
553 stars 217 forks source link

Get error with webcam demo #14

Closed Stephenfang51 closed 4 years ago

Stephenfang51 commented 5 years ago

Sir,

when I run the f.train(). it shows below How can I solve it?


ValueError Traceback (most recent call last)

in ----> 1 f.train() in train(self) 73 embs.append(embs_) 74 ---> 75 embs = np.concatenate(embs) 76 le = LabelEncoder().fit(labels) 77 y = le.transform(labels) ValueError: need at least one array to concatenate
abhishekgupte94 commented 5 years ago

The problem is that the embs array is empty. Load it with face embeddings