ValueError:维度0的切片索引0超出范围

时间:2019-03-26 13:45:02

标签: lstm

我遇到了一个问题,但我无法解决,似乎在runfile和execfile中存在多个错误。任何帮助表示赞赏

File "/home/luka/.local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1662, in _create_c_op
raise ValueError(str(e))

ValueError: slice index 0 of dimension 0 out of bounds. for 'lstm_1/strided_slice_13' (op: 'StridedSlice') with input shapes: [0,?,1], [1], [1], [1] and with computed input tensors: input[1] = <0>, input[2] = <1>, input[3] = <1>.

enter image description here

0 个答案:

没有答案