Bo Cheng

Results comments of Bo Cheng

输出采用的是Outputs('cost') 形式,输入也应该采用相应形式:Inputs("feature", 'label')

1、目前做的是multi-label的lstm模型; 2、数据能够正常read,我理解是每次读一个batch的数据,然后train,依次迭代下去,是吗? 3、这里是在数据全部读取完后,才报这个错误的,是啥原因?

/home/***/attempt_20171215200623_1687558_m000_000027_0.pkl /home/***/attempt_20171215200623_1687558_m000_000028_0.pkl /home/***/attempt_20171215200623_1687558_m000_000029_0.pkl /home/***/attempt_20171215200623_1687558_m000_000030_1.pkl ......... I0417 14:59:26.435760 3243 TrainerInternal.cpp:165] Batch=10 samples=80 AvgCost=9.30827 CurrentCost=9.30827 Eval: classification_error=0.00739437 CurrentEval: classification_error=0.00739437 ......... I0417 15:00:11.914364 3243 TrainerInternal.cpp:165] Batch=20 samples=160 AvgCost=8.99264 CurrentCost=8.677 Eval: classification_error=0.00724765 CurrentEval: classification_error=0.00710094...

发现确实是训练数据异常导致的bug;对数据读取部分加上异常检查逻辑;

没有找到解释这几个区别的doc,paddle版本太多了,好像也不兼容前面的版本吧

gpu版的multi-label,可以在train的时候evaluation吗?应该怎么写evalution呢? 下面的写法为啥不行呀? Evaluator( inputs = ['output', 'label'], type = 'classification_error', name = 'classification_error', classification_threshold = 0.5 ) 改成: classification_error_evaluator("ErrorRate", input=output, label=label) 报错: TypeError: classification_error_evaluator() got multiple values for keyword argument...

cpu版的multi-label是怎么评估的啊?就是说准确率是怎么算的? 是全部准确才算正确?还是预测的Top1-hit-rate? Evaluator( inputs = ['output', 'label'], type = 'classification_error', name = 'classification_error', classification_threshold = 0.5 )

v1版paddle,单机cpu版,已经train了2k多个batch_size了,为啥报这个错误呢?我输出变量名称是output,这里的out是读数据问题?还是训练过程问题?

up_proj = fc_layer(input=lstm_pool, size=512, act=ReluActivation(), bias_attr=bias_attr) hidden = fc_layer(input=up_proj, size=256, act=TanhActivation(), bias_attr=bias_attr) output = fc_layer(input=hidden, size=label_size, name='output', bias_attr=bias_attr, act=SoftmaxActivation()) Layer( type = 'multi_binary_label_cross_entropy', name = 'cost', inputs = [Input('output'), Input('label')]...

我理解这里loss的输入用SoftmaxActivation已经做了归一化了,为啥会导致输出范围有问题呢? 这里报错说输出out不在[0-1]之间,怎么产生的呢?