I have trained a keras CNN monitoring the metrics as follow:
METRICS = [ TruePositives(name=\'tp\'), FalsePositives(name=\'fp\'), TrueNegatives(name=\'tn\'
custom_objects['METRICS'] = METRICS model = load_model('model.h5', custom_objects=custom_objects)