tf_unet icon indicating copy to clipboard operation
tf_unet copied to clipboard

dice coefficient nan

Open ysyyork opened this issue 8 years ago • 1 comments

Hi,

I'm trying to use dice coefficient loss as the cost function but after several iteration, the loss start to become NaN, I don't know what's going on. I read the source code and saw there is an eps in the union to prevent divided by zero. But the result is still Nan. Anyone can help?

ysyyork avatar Jul 14 '17 18:07 ysyyork

This is a known issue (#28) but unfortunately I haven't found a solution yet. Sorry for that

jakeret avatar Jul 15 '17 10:07 jakeret