Unet segmentation model predicts blank image? [duplicate]

大憨熊 提交于 2019-12-08 14:09:07

问题


I m using Unet architecture for lung segmentation it show me better training and Val loss but when I call predict function and give one image of training set as input.its gives me blank image as output .I am understanding why is doing so when it show good validation accuracy. I'm using keras


回答1:


Accuracy is not a good metrics for segmentation, especially for medical cases. Your dataset is most likely imbalanced which is why you are getting high accuracy (most of the ground truth mask pixels are "0"). You should use metrics like Dice, precision/recall/F1 to track results



来源:https://stackoverflow.com/questions/50181116/unet-segmentation-model-predicts-blank-image

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!