yangjing14

Results comments of yangjing14

> shape = fluid.layers.shape(input) 改成 shape = input.shape 试下 试了一下,前面这个问题确实没有了,但是后面第二个reshape的地方还是报错 Traceback (most recent call last): File "onehot_train_paddle_lod.py", line 343, in train(use_cuda, USE_PRE_TRAIN_EMBEDDING) File "onehot_train_paddle_lod.py", line 240, in train predict, label,...

> 这个报错说明input.shape里读取的batch_size和num_vectors都是-1, 应该是传入的input之前做过第二的reshape操作之类的,把batch_size和num_vectors其中有一个指定为具体值就可以了 Batch size理论上是可以指定的,但是不太清楚怎么处理最后一个batch大小不等于batch size的情况

> > > 这个报错说明input.shape里读取的batch_size和num_vectors都是-1, 应该是传入的input之前做过第二的reshape操作之类的,把batch_size和num_vectors其中有一个指定为具体值就可以了 > > > > > > Batch size理论上是可以指定的,但是不太清楚怎么处理最后一个batch大小不等于batch size的情况 > > 一般选择drop_last或者padding的方式 请问两个选项在哪里指定?

reshaped2 = fluid.layers.reshape(fc, shape=[BATCH_SIZE, -1, HIDDEN1]) 固定batch_size后reshape报一下错误 Traceback (most recent call last): File "onehot_train_paddle_lod.py", line 345, in train(use_cuda, USE_PRE_TRAIN_EMBEDDING) File "onehot_train_paddle_lod.py", line 242, in train predict, label, avg_cost, acc =...

另外想请教一下如何在运行时动态的获取Tensor实际的shape?(不是定义网络结构的时候给的shape)

> mpi作业中pserver和trainer通信的端口是paddlecloud分配的,可以提一个paddlecloud的icafe卡片,我们后面来跟进下,卡片提交地址 http://newicafe.baidu.com/issues/space/paddle-cloud-user 你好,icafe卡片以提交,麻烦跟进,谢谢 http://newicafe.baidu.com/issue/paddle-cloud-user-875/show?from=page

> 1. 同步训练还是异步训练 > 2. 是在训练过程中出的问题还是训练开始出的问题 同步训练,训练过程中出现问题

> error code 14会在下一个版本中解决此问题,目前的话可以尝试用异步训练或者重试来避免此问题。 下个版本大概什么时候能用?