nyoki-mtl / keras-facenet

Facenet implementation by Keras2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get error with webcam demo

Stephenfang51 opened this issue · comments

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

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