zhoukunsheng

Results issues of zhoukunsheng

environment information: - paddlepaddle version 0.15.0, fluid API - use CPU My batch of data is like a batch of sentences, for example: [ [ 1, 2, 2], [3, 2,...

User

Paddle version: 0.15.0 environment: CPU, use fluid API error infomation: Traceback (most recent call last): File "train.py", line 281, in train_net() File "train.py", line 277, in train_net model_dir="model") File "train.py",...

User

构建网络时生成了序列的表示,其shape为(batch, seq_len, dim),同时生成了一个shape为(batch, seq_len) 的一个binary index,想要依据该binary index 从序列表示中gather 一部分tensor。请问是否可以实现呢?

从seq_unpad 的实现意图上理解没有问题,但当使用reshape之后该dimension 的限制就显得不灵活。 譬如下面代码中删除reshape行的注释,则代码报EnforceNotMet 的错误 ` import numpy as np import paddle.fluid as fluid import paddle.fluid.layers as layers import op_utils np.random.seed(0) batch=2 length = layers.data(name='length', shape=[1], dtype='int64') rep = layers.data(name='rep',...

bp 时sequence_unpad 这个op 出core ![image](https://user-images.githubusercontent.com/29747927/50686563-e5cb8e80-1058-11e9-8133-d38deb377374.png)

paddle 版本:源码编译dev 版 单卡使用Executor 时运行正常,修改成ParallelExecutor 之后运行出错。 ![image](https://user-images.githubusercontent.com/29747927/51579766-1c305700-1efd-11e9-8bfc-327395f3cfe3.png) ![image](https://user-images.githubusercontent.com/29747927/51579639-adeb9480-1efc-11e9-938f-93c70aa4c53e.png)

User

GPU 是cuda v 100,安装的cuda 是9.0 版本,cudnn 7.0 版本。 使用http://paddlepaddle.org/documentation/docs/zh/1.2/beginners_guide/install/compile/compile_CentOS.html 下docker 编译的方式,可以编译成功,但是cmake 检测到的cuda 版本是8.0。 运行模型报告如下错误: W0125 19:29:06.251294 83370 device_context.cc:262] Please NOTE: device: 0, CUDA Capability: 70, Driver API Version: 9.2, Runtime...

test=develop Like those compare function in numpy.

test=develop this commit intends to add rank (ndims) , squared_difference op, only python interface is revised.

test=develop reduce_all computes logical_and on single tensor; reduce_any computes logical_or on single tensor;