You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i try to train with the given loss the following error accord : ValueError: An operation has None for gradient. Please make sure that all of your ops have a gradient defined (i.e. are differentiable). Common ops without gradient: K.argmax, K.round, K.eval.
The text was updated successfully, but these errors were encountered:
The Jaccard index isn't a derivable function, therefore you can't use it as a loss.
Try sticking to the categorical_crossentropy or you're welcome to change the jaccard function to be derivable and share the code with us
When i try to train with the given loss the following error accord : ValueError: An operation has
None
for gradient. Please make sure that all of your ops have a gradient defined (i.e. are differentiable). Common ops without gradient: K.argmax, K.round, K.eval.The text was updated successfully, but these errors were encountered: