Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

为什么paddle训练过程中打印的__auc_evaluator_0__和classification_error_evaluator都为0

Open JayEworld opened this issue 9 years ago • 1 comments

你好,我提交了paddle任务在集群上进行训练,发现训练过程中输出大量__auc_evaluator_0__和classification_error_evaluator都为0的日志: Mon Jul 24 17:03:02 2017[1,8]:Pass 1, Batch 3, Cost 0.247531, {'auc_evaluator_0': 0.0, 'classification_error_evaluator': 0.0} Mon Jul 24 17:03:02 2017[1,7]: Mon Jul 24 17:03:02 2017[1,7]:Pass 1, Batch 3, Cost 0.248483, {'auc_evaluator_0': 0.0, 'classification_error_evaluator': 0.0} 请问这是怎么回事儿呢? image

JayEworld avatar Jul 24 '17 09:07 JayEworld

样本分布不均衡导致,在一个batch中,都是负样本,计算auc为0. 另外,提issue请贴log,不要贴图。

dzhwinter avatar Jul 24 '17 10:07 dzhwinter