Incubator-mxnet: gluon.loss.SoftmaxCrossEntropyLoss() missed ignore_label parameter?

Created on 24 Oct 2017  路  3Comments  路  Source: apache/incubator-mxnet

I found the mx.symbol. SoftmaxOutput has parameter ignore_label, however i can't find gluon.loss.SoftmaxCrossEntropyLoss has such parameter?

if gluon.loss.SoftmaxCrossEntropyLoss doesn't have such parameter, how can i use loss function with ingore_label. https://github.com/apache/incubator-mxnet/pull/1938 pull have added ignore_label , how can i use it with gluon.

Most helpful comment

use "sample_weight" instead

All 3 comments

use "sample_weight" instead

Hi, could you give an example of using ignore_label in gluon.loss.SoftmaxCrossEntropyLoss please ? thank you ~ @qiliux @chinakook

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dushoufu picture dushoufu  路  3Comments

phunterlau picture phunterlau  路  3Comments

seongkyun picture seongkyun  路  3Comments

luoruisichuan picture luoruisichuan  路  3Comments

zheng-da picture zheng-da  路  3Comments