This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
MXNet: Operator softmax
registered in backend is known as softmax
in Python
#21189
Labels
Description
Trying to pass class_weights to a SoftmaxCrossEntropy loss function leads to the following error:
Error Message
To Reproduce
Just create a network, which should categorize 5 different categories. Since the dataset can contain some unbalance in the data, you need to create the following class_weight array:
then pass the weights to the loss_function above like:
What have you tried to solve it?
Environment
We recommend using our script for collecting the diagnostic information with the following command
curl --retry 10 -s https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py | python3
Environment Information
The text was updated successfully, but these errors were encountered: