seq2seq_chatbot_new icon indicating copy to clipboard operation
seq2seq_chatbot_new copied to clipboard

训练时报错

Open heppytt opened this issue 6 years ago • 1 comments

InvalidArgumentError (see above for traceback): ConcatOp : Dimensions of inputs should match: shape[0] = [128,1024] vs. shape[1] = [640,1024] [[Node: decoder/decoder/while/BasicDecoderStep/decoder/Attention_Wrapper/concat = ConcatV2[N=2, T=DT_FLOAT, Tidx=DT_INT32, _class=["loc:@decod...apeN/f_acc"], _device="/job:localhost/replica:0/task:0/device:CPU:0"](decoder/decoder/while/Switch_12:1, decoder/decoder/while/Switch_8:1, decoder/decoder/while/BasicDecoderStep/decoder/Attention_Wrapper/concat/axis)]]

heppytt avatar Aug 14 '18 15:08 heppytt

我遇到了同样的问题,请问你的问题解决了吗 @heppytt 估计是beam_search扩大维度的时候出错了,我没好到哪里出问题。能否帮我们解答一下? @lc222 谢谢!

xuyl0104 avatar Feb 14 '19 05:02 xuyl0104