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
Between this two target array, -1 is paced to y2_dummy[0] but some value in y1_dummy[0] and continues. In training time, I set ignore_class = -1, please see below.
@innat,
Thank you for reporting the issue. Could you please try to provide the PR for making these changes happen in the
tf-keras as this issue is present only in keras2? Thank you!
This behaviour happens in Keras 2 but works in Keras 3.
I tried to train a multi-output model. But it target looks like something as follows
Between this two target array,
-1
is paced toy2_dummy[0]
but some value iny1_dummy[0]
and continues. In training time, I setignore_class = -1
, please see below.The code works in Keras 3 but in Keras 2, the loss becomes
nan
. Below is the full code.The text was updated successfully, but these errors were encountered: