zhouxiao-coder
zhouxiao-coder
@backyes Is this issue about layers using `sparse_update=True` feature? It's very likely that I have also encountered this issue. Is there any workaround known to you at this point? For...
Is it possible to provide more detail? Such as possible causes of this problem.
### background - 我的场景是在内部 cpu 集群环境下运行; - 由于没有发现单机如何使用sparse_update feature,所以没有尝试单机测试; - 实验均在show_parameter_stats_period 开启情况下进行,没有尝试关闭; ### logs and parameters 部分命令行参数:`--show_parameter_stats_period 500 --ports_num_for_sparse=2 --log_period 100` log 达到400batch ,未到500batch 的时候报错,根据参数推测,可能是和 `show_parameter_stats_period`的设置有关。 部分相关log: ``` Tue Nov...
##update 关掉 `--show_parameter_stats_period` 选项后,任务能正常运行了,基本确认了之前的问题定位。这个bug 可能已经在新版本中被 [这个commit](https://github.com/baidu/Paddle/commit/77ed98d1a86f408db1f4043bd9d6fc14c48295e9) fix了,但是集群上的Paddle binary可能没有同步。 我会更新到最新版本再测试一次。
If you are trying to use batch gradient on the whole dataset, I suppose you could always set batch size to a number that is larger than your dataset size,...
AucValidation is implemented as an evaluator. It's often used in binary classification problems. A simple usage: ``` eval = auc_evaluator(input, label) ``` where `input` is the prediction of your network,...
@buptzzl AucValidation 似乎是旧接口中的名字,如果你看的是百度内网上的文档的话可能会看到。未来统一都会使用新的接口,所以文档参照的话建议看 http://www.paddlepaddle.org/doc/ 。 当然,有使用过程有任何问题都欢迎吐槽:)
@CrossLee1 ## Backgroud These are cost layers used in problem known as Learning To Rank(LTR). `rank_cost` is an implementation of RankNet, and `lambda_cost` is an implementation of LambdaRank. You can...
@CrossLee1 Thanks for your appreciation :) LTR seems to be a very popular topic among PaddlePaddle users. We will try to make a demo in the future.
不知道我有没有理解错你的问题,你是想说:如何从你图上的 col1 - col8 的输入得到最后的 1维 output score? 如果是的话,答案也非常简单:只要把最后输出层的宽度设为1即可。 这里有一个[简单的例子](https://github.com/baidu/Paddle/blob/develop/doc_cn/introduction/index.md) 供参考。 针对你的例子来讲,就像这样: ``` output_layer = fc_layer(input=hidden##你的隐层##, param_attr=ParamAttr(name='w'), size=1, act=LinearActivation(), bias_attr=ParamAttr(name='b')) cost = regression_cost(input=output_layer, label=y##目标label##) outputs(cost) ```