Experimenting with Liveness Detection with OpenCV
macOS (same error in Windows below + same solution)
Traceback (most recent call last):
File "train_liveness.py", line 114, in <module>
plt.plot(np.arange(0, EPOCHS), H.history["acc"], label="train_acc")
KeyError: 'acc'
Convolutional Neural Net-Keras-val_acc Keyerror ‘acc’
SOLUTION
from keras source :
warnings.warn('The “show_accuracy” argument is deprecated, ’
'ins