Problem:
keyerror ‘ACC’ is reported when using keras
Reason:
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.
Solution:
Print history keyword
Print (history. History. Keys())
change the error part to the printed “K” and “V”“