大神,跑了你的train_lstm.py报错如下
平台:ubuntu 16.04 tensorflow版本: tensorflow-gpu-1.4 报错如下
WARNING:tensorflow:Skipping summary for observed, must be a float, np.float32, np.int64, np.int32 or int.
WARNING:tensorflow:Skipping summary for times, must be a float, np.float32, np.int64, np.int32 or int.
WARNING:tensorflow:Skipping summary for mean, must be a float, np.float32, np.int64, np.int32 or int.
WARNING:tensorflow:Skipping summary for start_tuple, must be a float, np.float32, np.int64, np.int32 or int.
WARNING:tensorflow:Input graph does not contain a QueueRunner. That means predict yields forever. This is probably a mistake.
2018-06-09 16:57:18.216300: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce GTX 1060, pci bus id: 0000:01:00.0, compute capability: 6.1)
INFO:tensorflow:Restoring parameters from /tmp/tmpwvnv1vj8/model.ckpt-2000
2018-06-09 16:57:18.318936: W tensorflow/core/framework/op_kernel.cc:1192] Out of range: Reached limit of 1
[[Node: limit_epochs_2/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@limit_epochs_2/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
2018-06-09 16:57:18.319003: W tensorflow/core/framework/op_kernel.cc:1192] Out of range: Reached limit of 1
[[Node: limit_epochs_2/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@limit_epochs_2/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
2018-06-09 16:57:18.319028: W tensorflow/core/framework/op_kernel.cc:1192] Out of range: Reached limit of 1
[[Node: limit_epochs_2/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@limit_epochs_2/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
2018-06-09 16:57:18.319078: W tensorflow/core/framework/op_kernel.cc:1192] Out of range: Reached limit of 1
[[Node: limit_epochs_2/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@limit_epochs_2/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
2018-06-09 16:57:18.319125: W tensorflow/core/framework/op_kernel.cc:1192] Out of range: Reached limit of 1
[[Node: limit_epochs_2/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@limit_epochs_2/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
2018-06-09 16:57:18.319148: W tensorflow/core/framework/op_kernel.cc:1192] Out of range: Reached limit of 1
[[Node: limit_epochs_2/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@limit_epochs_2/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
2018-06-09 16:57:18.319168: W tensorflow/core/framework/op_kernel.cc:1192] Out of range: Reached limit of 1
[[Node: limit_epochs_2/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@limit_epochs_2/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
2018-06-09 16:57:18.319191: W tensorflow/core/framework/op_kernel.cc:1192] Out of range: Reached limit of 1
[[Node: limit_epochs_2/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@limit_epochs_2/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
2018-06-09 16:57:18.319238: W tensorflow/core/framework/op_kernel.cc:1192] Out of range: Reached limit of 1
[[Node: limit_epochs_2/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@limit_epochs_2/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
2018-06-09 16:57:18.319260: W tensorflow/core/framework/op_kernel.cc:1192] Out of range: Reached limit of 1
[[Node: limit_epochs_2/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@limit_epochs_2/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
2018-06-09 16:57:18.319306: W tensorflow/core/framework/op_kernel.cc:1192] Out of range: Reached limit of 1
[[Node: limit_epochs_2/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@limit_epochs_2/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
2018-06-09 16:57:18.319343: W tensorflow/core/framework/op_kernel.cc:1192] Out of range: Reached limit of 1
[[Node: limit_epochs_2/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@limit_epochs_2/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
2018-06-09 16:57:18.319377: W tensorflow/core/framework/op_kernel.cc:1192] Out of range: Reached limit of 1
[[Node: limit_epochs_2/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@limit_epochs_2/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
2018-06-09 16:57:18.319399: W tensorflow/core/framework/op_kernel.cc:1192] Out of range: Reached limit of 1
[[Node: limit_epochs_2/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@limit_epochs_2/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
2018-06-09 16:57:18.319419: W tensorflow/core/framework/op_kernel.cc:1192] Out of range: Reached limit of 1
[[Node: limit_epochs_2/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@limit_epochs_2/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
2018-06-09 16:57:18.319441: W tensorflow/core/framework/op_kernel.cc:1192] Out of range: Reached limit of 1
[[Node: limit_epochs_2/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@limit_epochs_2/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
2018-06-09 16:57:18.319461: W tensorflow/core/framework/op_kernel.cc:1192] Out of range: Reached limit of 1
[[Node: limit_epochs_2/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@limit_epochs_2/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
2018-06-09 16:57:18.319483: W tensorflow/core/framework/op_kernel.cc:1192] Out of range: Reached limit of 1
[[Node: limit_epochs_2/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@limit_epochs_2/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
2018-06-09 16:57:18.319502: W tensorflow/core/framework/op_kernel.cc:1192] Out of range: Reached limit of 1
[[Node: limit_epochs_2/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@limit_epochs_2/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
2018-06-09 16:57:18.319518: W tensorflow/core/framework/op_kernel.cc:1192] Out of range: Reached limit of 1
[[Node: limit_epochs_2/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@limit_epochs_2/epochs"], limit=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
Traceback (most recent call last):
File "/home/jarlan/PycharmProjects/time_serier/train_lstm.py", line 199, in