TensorFlow-Tutorials-for-Time-Series icon indicating copy to clipboard operation
TensorFlow-Tutorials-for-Time-Series copied to clipboard

LSTM examples error

Open planetceres opened this issue 9 years ago • 1 comments

Trying to run any of the LSTM examples, results in this error:

InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shape= [10,1] rhs shape= [10,6]

[[Node: save/Assign_17 = Assign[T=DT_FLOAT, _class=["loc:@linear_regression/weights"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/cpu:0"](linear_regression/weights, save/restore_slice_17)]]

Seems to be related to lstm_predictor.py.

planetceres avatar Oct 15 '16 04:10 planetceres

tf:split_squeeze is deprecated and will be removed after 2016-08-01. Use tf.unpack instead. Now I am working on modifying previous source code for tensorflow ver. 0.11.rc0.

tgjeon avatar Oct 18 '16 05:10 tgjeon