[Solved] Keras Error: KeyError: ‘accuracy‘, KeyError: ‘val_acc‘, KeyError: ‘acc‘

keyerror ‘ACC’ is reported when using keras

this is a keras version problem. ACC and accuracy are intended to be the same, but different keras versions use different names, so they need to be replaced. val_ So is acc.

Print history keyword
Print (history. History. Keys())
change the error part to the printed “K” and “V”“

Read More: