jinxing94

Results comments of jinxing94

I tried tensorflow=2.1.0, but get ValueError: The `batch_size` argument must not be specified for the given input type. Received input: , batch_size: 32.

> Hi Xingchen, > Are you using the docker setup? If not, perhaps, give it a try. > I used Python 3.6.9 to train and save the model. > Yulia...

I have the same issue that I cannot load your pretrained mode.

Hi, I used 120 epochs with 5e-6 learning rate, but only get the results. acc:0.80 auc:0.78 f1:0.57 precision:0.46 recall:0.73 The config yaml I use is model_opts: model: PCPA obs_input_type: [local_context,...

我是想把torch的gru 参数load给paddle, 但load过去,算的结果不一样。所以才用DynamicRNN自己写下看,后面查看这个实现的能load torch的gru参数且算的一样。但发现用sequence_pad的话出错,不能用sequence_pad的话,就不能拿这个输出结果算attention。

> drnn输出的是一个LOD_TENSOR_ARRAY > sequence_pad期望输入是一个LOD_TENSOR > > ``` > new_hidden = newgate + inputgate * (hidden - newgate) > ``` > > 这句改成输出单个lod tensor试试 我重新检查了一下,drnn输出的是LOD_TENSOR呀,drnn运行的中间变量有LOD_TENSOR_ARRAY。 跑下下面的代码可以看 ```python from paddle import fluid...

drnn.output(new_hidden)是一个LOD_TENSOR_ARRAY,但self.outputs = drnn()是LOD_TENSOR。会不会可能是编译检查inference_shape碰到drnn有小问题?

暂时找到替代方法,这个问题没有那么着急了。

用zeros_like可以 ```python x1 = fluid.layers.data(name="x1", shape=[2,2,3], dtype='float32') y1 = fluid.layers.data(name="y1", shape=[2,3], dtype='float32') y1_expand = fluid.layers.zeros_like(x1) y1_expand = fluid.layers.elementwise_add(y1_expand, y1, axis = 1) z1 = fluid.layers.equal(x1, y1_expand) ```

请问这个有进展吗,我碰到类似的问题, https://github.com/PaddlePaddle/Paddle/issues/19679