leido / char-rnn-cn

基于char-rnn和tensorflow生成周杰伦歌词
247 stars 107 forks source link

InvalidArgumentError (see above for traceback): Assign requires shapes of both tensors to match. lhs shape= [100,2636] rhs shape= [100,4553] #14

Open helloxueen opened 5 years ago

helloxueen commented 5 years ago

it occurs that InvalidArgumentError (see above for traceback): Assign requires shapes of both tensors to match. lhs shape= [100,2636] rhs shape= [100,4553]
[[Node: save/Assign_15 = Assign[T=DT_FLOAT, _class=["loc:@rnnlm/softmax_w"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/cpu:0"](rnnlm/softmax_w/Adam, save/RestoreV2_15)]] when I run generate_text.py.

kelvinYuan commented 5 years ago

use JayLyrics.txt not hlm.txt to train