Traceback (most recent call last):
File "c:\Users\pjasz\source\repos\inpredo-master\src\train-binary.py", line 76, in <module>
model.compile(loss='categorical_crossentropy',
File "C:\Users\pjasz\AppData\Local\Programs\Python\Python38\lib\site-packages\keras\engine\training.py", line 451, in compile
handle_metrics(output_metrics)
File "C:\Users\pjasz\AppData\Local\Programs\Python\Python38\lib\site-packages\keras\engine\training.py", line 408, in handle_metrics
metric_fn = metrics_module.get(metric)
File "C:\Users\pjasz\AppData\Local\Programs\Python\Python38\lib\site-packages\keras\metrics.py", line 78, in get
return deserialize(str(identifier))
File "C:\Users\pjasz\AppData\Local\Programs\Python\Python38\lib\site-packages\keras\metrics.py", line 67, in deserialize
return deserialize_keras_object(config,
File "C:\Users\pjasz\AppData\Local\Programs\Python\Python38\lib\site-packages\keras\utils\generic_utils.py", line 164, in deserialize_keras_object
raise ValueError('Unknown ' + printable_module_name +
ValueError: Unknown metric function:val_acc
With Kreas 2.2.4 saving checkpoint in this form:
is not working. It's giving error:
Shouldn't we use
acc
instead?