char-rnn-cn icon indicating copy to clipboard operation
char-rnn-cn copied to clipboard

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

Open helloxueen opened this issue 6 years ago • 1 comments

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.

helloxueen avatar Dec 19 '18 08:12 helloxueen

use JayLyrics.txt not hlm.txt to train

kelvinYuan avatar May 20 '19 08:05 kelvinYuan