pytorch-semseg icon indicating copy to clipboard operation
pytorch-semseg copied to clipboard

The loss is so large and iou of each class is 0 except background.

Open yyangmei opened this issue 5 years ago • 5 comments

I train segnet using SBD and pascal voc 2012, but my loss is so large such as 578002. And when i eval my model on val, i get iou of each class is 0. What's wrong is it? Thank you so much.

image

yyangmei avatar Nov 12 '18 02:11 yyangmei

can you share your config file?

komms avatar Dec 26 '18 15:12 komms

i have the same question, do you have any solution

yunclouding avatar Dec 29 '18 13:12 yunclouding

set size_average=true in the config file

komms avatar Dec 29 '18 14:12 komms

set size_average=true in the config file

this is my config.would you mind telling me how to resolve the problem in above? image loss is large and acc is bad

pnzsl avatar Aug 21 '19 08:08 pnzsl

i have the same question, do you have any solution?

opee007 avatar Sep 09 '19 07:09 opee007