Load keras model h5 unknown metrics
问题 I have trained a keras CNN monitoring the metrics as follow: METRICS = [ TruePositives(name='tp'), FalsePositives(name='fp'), TrueNegatives(name='tn'), FalseNegatives(name='fn'), BinaryAccuracy(name='accuracy'), Precision(name='precision'), Recall(name='recall'), AUC(name='auc'), ] and then the model.compile: model.compile(optimizer='nadam', loss='binary_crossentropy', metrics=METRICS) it works perfectly and I saved my h5 model (model.h5). Now I have downloaded the model and I would like to