You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/user/PycharmProjects/MDLSTM-master/main.py", line 90, in
run(1)
File "/home/user/PycharmProjects/MDLSTM-master/main.py", line 53, in run
rnn_out, _ = multi_dimensional_rnn_while_loop(rnn_size=hidden_size, input_data=x, context_wind_shape=[1, 1])
File "/home/user/PycharmProjects/MDLSTM-master/md_lstm.py", line 193, in multi_dimensional_rnn_while_loop
parallel_iterations=1)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/control_flow_ops.py", line 2816, in while_loop
result = loop_context.BuildLoop(cond, body, loop_vars, shape_invariants)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/control_flow_ops.py", line 2640, in BuildLoop
pred, body, original_loop_vars, loop_vars, shape_invariants)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/control_flow_ops.py", line 2576, in BuildLoop
c = ops.convert_to_tensor(pred(*packed_vars))
File "/home/user/PycharmProjects/MDLSTM-master/md_lstm.py", line 190, in condition
return tf.less(time, tf.constant(h_red * w_red))
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/constant_op.py", line 208, in constant
value, dtype=dtype, shape=shape, verify_shape=verify_shape))
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/tensor_util.py", line 383, in make_tensor_proto
_AssertCompatible(values, dtype)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/tensor_util.py", line 300, in _AssertCompatible
raise TypeError("List of Tensors when single Tensor expected")
TypeError: List of Tensors when single Tensor expected
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/home/user/PycharmProjects/MDLSTM-master/main.py", line 90, in
run(1)
File "/home/user/PycharmProjects/MDLSTM-master/main.py", line 53, in run
rnn_out, _ = multi_dimensional_rnn_while_loop(rnn_size=hidden_size, input_data=x, context_wind_shape=[1, 1])
File "/home/user/PycharmProjects/MDLSTM-master/md_lstm.py", line 193, in multi_dimensional_rnn_while_loop
parallel_iterations=1)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/control_flow_ops.py", line 2816, in while_loop
result = loop_context.BuildLoop(cond, body, loop_vars, shape_invariants)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/control_flow_ops.py", line 2640, in BuildLoop
pred, body, original_loop_vars, loop_vars, shape_invariants)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/control_flow_ops.py", line 2576, in BuildLoop
c = ops.convert_to_tensor(pred(*packed_vars))
File "/home/user/PycharmProjects/MDLSTM-master/md_lstm.py", line 190, in condition
return tf.less(time, tf.constant(h_red * w_red))
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/constant_op.py", line 208, in constant
value, dtype=dtype, shape=shape, verify_shape=verify_shape))
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/tensor_util.py", line 383, in make_tensor_proto
_AssertCompatible(values, dtype)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/tensor_util.py", line 300, in _AssertCompatible
raise TypeError("List of Tensors when single Tensor expected")
TypeError: List of Tensors when single Tensor expected
The text was updated successfully, but these errors were encountered: