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
I got an error ValueError: "class_weight" not supported for 3+ dimensional targets. with class_weight, when I run a baseline.py (with only text in emotion classification)with class_weight as below that is provided in README.
I didn't make any changes to bc-LSTM model, but should I make a new loss function considering class_weight or something?
Could you give me advice to be able to use class_weight without any problems?
Thank you in advance.
using command: python baseline.py -classify emotion -modality text -train
Hi,
I got an error
ValueError: "class_weight" not supported for 3+ dimensional targets. with class_weight
, when I run a baseline.py (with only text in emotion classification)with class_weight as below that is provided in README.I didn't make any changes to bc-LSTM model, but should I make a new loss function considering class_weight or something?
Could you give me advice to be able to use class_weight without any problems?
Thank you in advance.
using command:
python baseline.py -classify emotion -modality text -train
fit parameter:
The text was updated successfully, but these errors were encountered: