Closed mvonpohle closed 3 years ago
This may fix the cause of the nans. I added K.epsilon to the denominator of the dice loss function. It's common to prevent losses from nan-ing if their denominator is 0.
This may fix the cause of the nans. I added K.epsilon to the denominator of the dice loss function. It's common to prevent losses from nan-ing if their denominator is 0.