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
File "C:\Users\Usuario\Anaconda3\envs\env_gpu\lib\site-packages\keras\optimizers.py", line 91, in get_gradients
raise ValueError('An operation has None for gradient. '
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
Do you know what it's the problem?
Thank you very much in advance!
The text was updated successfully, but these errors were encountered:
Hi!!
Firstly, thank you very much for sharing your code. It's a great work!
I'm trying to train my model with lovasz_hinge as loss function:
model.compile(optimizer =opt,loss= [lovasz_hinge], metrics = [matthews_correlation])
But I have the next error:
File "C:\Users\Usuario\Anaconda3\envs\env_gpu\lib\site-packages\keras\optimizers.py", line 91, in get_gradients
raise ValueError('An operation has
None
for gradient. '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.evalDo you know what it's the problem?
Thank you very much in advance!
The text was updated successfully, but these errors were encountered: