How to implement more metrics in model.compile?
nora-dimitrova opened this issue · comments
Nora Dimitrova commented
I want to evaluate segmentation results with Dice, Jaccard, True positive - False positive and True positive - False negative ratio. I saw the metrics script and how to implement each of them individually but not all of them. How can I get them together, also keeping mse?
.....
model = sm.Unet(BACKBONE, encoder_weights = "imagenet")
model.compile(optimizer = "adam", loss = "binary_crossentropy", metrics = ["mse"]) #mse mean squared error
.....