hikkinight

Results issues of hikkinight

Log file created at: 2017/06/27 17:52:19 Running on machine: yq01-hpc-wutai01-w00071.yq01.baidu.com Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg F0627 17:52:19.446719 22211 PythonUtil.h:211] Check failed: PySequence_Check(seq_)

本地模式可以跑通,提交集群任务后,一个batch没跑就会报出入图错误。之前有issue的解答说是端口、网络问题。个人判断不是这个问题,已经尝试了100多个端口。

提交任务时,在没有显示指定init_model_path情况下,init_model_path被指定为 /user/score-int/pangrenming/wenda_paddle_model_sum。 在自身集群里检查不到该文件导致任务失败。 ![3](https://user-images.githubusercontent.com/1262600/31929996-acc2fca8-b8d0-11e7-8a07-bc194067ca1b.png)

User

通过receiver提交时,似乎不能指定paddle版本?这个时候怎么使用paddle.layer.square_error_cost呢? `train_dnn_model(num_pass=num_pass) File "conf/trainer_config.conf", line 87, in train_dnn_model [cost, output, label] = fc_net(dict_dim) File "conf/trainer_config.conf", line 75, in fc_net cost = paddle.layer.square_error_cost(input=inference, label=label) AttributeError: 'module' object has no attribute 'square_error_cost'`

提交任务时曝出这个错误。现在能确认的是问题出topology定义上,reader没问题。另外topology的定义里, simple_gru换成sequence_conv_pool后也没问题. ```python def fc_net(dict_dim): # input layers dict_dim_real = int(dict_dim + 1) query_id = paddle.layer.data( name='query', type=paddle.data_type.integer_value_sequence(dict_dim_real)) query_emb = paddle.layer.embedding(input=query_id, size=64) #query_conv = paddle.networks.sequence_conv_pool( # input=query_emb, hidden_size=32, context_len=3) query_conv...

User

想对梯度进行监控,防止梯度消失的情况。 event_handler里应该怎么写,有例子吗?

背景类似demo中的电影推荐任务。为了性能考虑我们想尝试下如下图这种半全连接的网络。 线上预估的步骤是: 1、user_fc_layer在线上检索时只需计算一次得到 2、item_fc_layer可以多次查表得到 3、last_fc_layer因为是user_fc_layer和item_fc_layer concat后全连激活得来,因此需要在线上做N(N是候选item数量)次激活函数计算得到; 4、对last_fc_layer进行sigmod得到预估值 问题来了,我们如何在线上完成3和4两个步骤呢?即给定user_fc_layer和item_fc_layer情况下,如何得到last_fc_layer和最后的预估值呢?毕竟这个场景下不是原始的input,也就不能直接调用paddle c++ inference的api。 我能想到的方案: 因为paddle现在训练得到的模型文件是分层保留成二进的。通过反解last_fc_layer的模型文件,得到权重后在线上完成激活函数的计算。 有没有更好的方法?另外如果要反解模型文件的话有没有工具呢?

User

PaddlePaddle实现的sparse update有没有参考的paper?

question
User