Applying class_weight for Models with multiple "output" #20701
Labels
stat:awaiting response from contributor
type:support
User is asking for help / asking an implementation question. Stackoverflow would be better suited.
I am trying to train a Model using Keras and I have to apply class_weights to set the data ratio correctly. However, I do have 3 types of labels and when I try to train the model it gives the following error:
here are some essential parts from my code:
What should I do? I have researched the web but I couldn't find a way to apply class_weight properly for a model with multiple outputs.
The text was updated successfully, but these errors were encountered: