This repo contains the source code in my personal column (https://zhuanlan.zhihu.com/zhaoyeyu), implemented using Python 3.6. Including Natural Language Processing and Computer Vision projects, such as text generation, machine translation, deep convolution GAN and other actual combat code.
您好,运行down下来的代码,没有改动,运行到
with tf.Session(graph=train_graph) as sess:
sess.run(tf.global_variables_initializer())
这一个代码块的时候程序报错:
Dimensions of inputs should match: shape[0] = [128,1] vs. shape[1] = [4 7,24]
目测是因为source和target的维度不一致导致的,我检查了好几编也没有弄清楚哪里出了问题。还请赐教
您好,运行down下来的代码,没有改动,运行到 with tf.Session(graph=train_graph) as sess: sess.run(tf.global_variables_initializer()) 这一个代码块的时候程序报错: Dimensions of inputs should match: shape[0] = [128,1] vs. shape[1] = [4 7,24] 目测是因为source和target的维度不一致导致的,我检查了好几编也没有弄清楚哪里出了问题。还请赐教