i use python3 tensorflow1.8, but when i run model3v1 , i get this
2019-03-03 00:36:46.578600: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
0 : 0
2019-03-03 00:37:05.348062: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 5 of dimension 0 out of bounds.
2019-03-03 00:37:05.348792: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 14 of dimension 0 out of bounds.
2019-03-03 00:37:05.348883: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 13 of dimension 0 out of bounds.
2019-03-03 00:37:05.350231: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 6 of dimension 0 out of bounds.
2019-03-03 00:37:05.350942: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 15 of dimension 0 out of bounds.
2019-03-03 00:37:05.351457: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 12 of dimension 0 out of bounds.
2019-03-03 00:37:05.351577: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 14 of dimension 0 out of bounds.
2019-03-03 00:37:05.353818: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 6 of dimension 0 out of bounds.
2019-03-03 00:37:05.355973: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:05.357523: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 13 of dimension 0 out of bounds.
2019-03-03 00:37:05.361943: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 12 of dimension 0 out of bounds.
2019-03-03 00:37:05.366654: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 7 of dimension 0 out of bounds.
2019-03-03 00:37:05.370536: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:05.383596: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:05.390775: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 10 of dimension 0 out of bounds.
2019-03-03 00:37:05.395251: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 7 of dimension 0 out of bounds.
2019-03-03 00:37:05.400038: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 2 of dimension 0 out of bounds.
2019-03-03 00:37:05.409891: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:05.414382: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 8 of dimension 0 out of bounds.
2019-03-03 00:37:05.418794: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 10 of dimension 0 out of bounds.
2019-03-03 00:37:05.432815: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:05.440090: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 8 of dimension 0 out of bounds.
2019-03-03 00:37:05.447118: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:05.461099: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 13 of dimension 0 out of bounds.
2019-03-03 00:37:05.467831: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 3 of dimension 0 out of bounds.
2019-03-03 00:37:05.472689: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 7 of dimension 0 out of bounds.
2019-03-03 00:37:05.477174: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:05.495050: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:05.502117: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 2 of dimension 0 out of bounds.
2019-03-03 00:37:05.506292: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:05.510208: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 10 of dimension 0 out of bounds.
2019-03-03 00:37:05.513467: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 14 of dimension 0 out of bounds.
2019-03-03 00:37:05.517446: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 5 of dimension 0 out of bounds.
2019-03-03 00:37:05.523664: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 8 of dimension 0 out of bounds.
2019-03-03 00:37:05.528358: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 2 of dimension 0 out of bounds.
2019-03-03 00:37:05.531471: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 10 of dimension 0 out of bounds.
2019-03-03 00:37:05.536828: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 3 of dimension 0 out of bounds.
2019-03-03 00:37:05.543527: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:05.556857: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:05.563409: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 13 of dimension 0 out of bounds.
2019-03-03 00:37:05.567395: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 6 of dimension 0 out of bounds.
2019-03-03 00:37:05.570501: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 7 of dimension 0 out of bounds.
2019-03-03 00:37:05.578829: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 3 of dimension 0 out of bounds.
2019-03-03 00:37:05.585091: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:05.589318: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 5 of dimension 0 out of bounds.
2019-03-03 00:37:05.593091: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 10 of dimension 0 out of bounds.
2019-03-03 00:37:05.596303: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 15 of dimension 0 out of bounds.
2019-03-03 00:37:05.600036: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 14 of dimension 0 out of bounds.
2019-03-03 00:37:05.606123: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:05.612649: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 8 of dimension 0 out of bounds.
2019-03-03 00:37:05.617016: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 5 of dimension 0 out of bounds.
2019-03-03 00:37:05.621257: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 15 of dimension 0 out of bounds.
2019-03-03 00:37:05.630444: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 6 of dimension 0 out of bounds.
2019-03-03 00:37:05.637229: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:05.642038: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:05.649122: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 13 of dimension 0 out of bounds.
2019-03-03 00:37:05.654917: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:05.665294: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 7 of dimension 0 out of bounds.
2019-03-03 00:37:05.671003: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 6 of dimension 0 out of bounds.
2019-03-03 00:37:05.678224: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 13 of dimension 0 out of bounds.
2019-03-03 00:37:05.683489: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:05.687742: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 15 of dimension 0 out of bounds.
2019-03-03 00:37:05.694081: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 10 of dimension 0 out of bounds.
2019-03-03 00:37:05.698063: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 14 of dimension 0 out of bounds.
2019-03-03 00:37:05.702529: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:05.706078: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 8 of dimension 0 out of bounds.
2019-03-03 00:37:05.712528: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:05.717455: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 14 of dimension 0 out of bounds.
2019-03-03 00:37:05.725649: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:05.739298: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 15 of dimension 0 out of bounds.
2019-03-03 00:37:05.743000: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:05.756317: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 13 of dimension 0 out of bounds.
2019-03-03 00:37:05.760017: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 2 of dimension 0 out of bounds.
2019-03-03 00:37:05.763817: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 8 of dimension 0 out of bounds.
2019-03-03 00:37:05.767570: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:05.775246: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 2 of dimension 0 out of bounds.
2019-03-03 00:37:05.780594: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 2 of dimension 0 out of bounds.
2019-03-03 00:37:05.785192: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:05.791923: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 15 of dimension 0 out of bounds.
2019-03-03 00:37:05.805896: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 14 of dimension 0 out of bounds.
2019-03-03 00:37:05.810715: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 3 of dimension 0 out of bounds.
2019-03-03 00:37:05.815057: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 7 of dimension 0 out of bounds.
2019-03-03 00:37:05.820100: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:05.823700: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 3 of dimension 0 out of bounds.
2019-03-03 00:37:05.829142: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 3 of dimension 0 out of bounds.
2019-03-03 00:37:05.833620: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:05.840589: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:05.845871: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 13 of dimension 0 out of bounds.
2019-03-03 00:37:05.851031: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 5 of dimension 0 out of bounds.
2019-03-03 00:37:05.858707: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 8 of dimension 0 out of bounds.
2019-03-03 00:37:05.869503: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:05.876659: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 5 of dimension 0 out of bounds.
2019-03-03 00:37:05.883054: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 5 of dimension 0 out of bounds.
2019-03-03 00:37:05.896645: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:05.901296: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 10 of dimension 0 out of bounds.
2019-03-03 00:37:05.905847: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 15 of dimension 0 out of bounds.
2019-03-03 00:37:05.911376: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 6 of dimension 0 out of bounds.
2019-03-03 00:37:05.919180: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 8 of dimension 0 out of bounds.
2019-03-03 00:37:05.929099: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 7 of dimension 0 out of bounds.
2019-03-03 00:37:05.933589: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 6 of dimension 0 out of bounds.
2019-03-03 00:37:05.938679: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 6 of dimension 0 out of bounds.
2019-03-03 00:37:05.943047: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:05.945916: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:05.953674: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:05.957143: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:05.960988: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 6 of dimension 0 out of bounds.
2019-03-03 00:37:05.964990: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 8 of dimension 0 out of bounds.
2019-03-03 00:37:05.969162: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:05.973177: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:05.981119: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:05.987805: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 15 of dimension 0 out of bounds.
2019-03-03 00:37:05.992817: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:05.996717: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:06.000419: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:06.010479: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:06.023072: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:06.027531: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:06.043979: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.049008: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:06.052516: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.055914: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.059680: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 2 of dimension 0 out of bounds.
2019-03-03 00:37:06.064601: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 10 of dimension 0 out of bounds.
2019-03-03 00:37:06.069342: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 5 of dimension 0 out of bounds.
2019-03-03 00:37:06.073962: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:06.077537: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.082347: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 10 of dimension 0 out of bounds.
2019-03-03 00:37:06.086635: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.097991: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 2 of dimension 0 out of bounds.
2019-03-03 00:37:06.102502: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 3 of dimension 0 out of bounds.
2019-03-03 00:37:06.106666: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:06.112127: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:06.116071: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 14 of dimension 0 out of bounds.
2019-03-03 00:37:06.122148: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.126239: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:06.141261: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.145386: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 3 of dimension 0 out of bounds.
2019-03-03 00:37:06.149963: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 5 of dimension 0 out of bounds.
2019-03-03 00:37:06.154207: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 15 of dimension 0 out of bounds.
2019-03-03 00:37:06.168745: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:06.173682: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 2 of dimension 0 out of bounds.
2019-03-03 00:37:06.177512: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.180617: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 15 of dimension 0 out of bounds.
2019-03-03 00:37:06.184617: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.191722: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 5 of dimension 0 out of bounds.
2019-03-03 00:37:06.198303: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 6 of dimension 0 out of bounds.
2019-03-03 00:37:06.202947: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.207827: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:06.212140: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 3 of dimension 0 out of bounds.
2019-03-03 00:37:06.218498: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.226331: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 12 of dimension 0 out of bounds.
2019-03-03 00:37:06.230362: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.243827: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 6 of dimension 0 out of bounds.
2019-03-03 00:37:06.246973: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:06.251809: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 10 of dimension 0 out of bounds.
2019-03-03 00:37:06.257066: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 10 of dimension 0 out of bounds.
2019-03-03 00:37:06.260802: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 5 of dimension 0 out of bounds.
2019-03-03 00:37:06.265744: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 3 of dimension 0 out of bounds.
2019-03-03 00:37:06.270538: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.274661: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 13 of dimension 0 out of bounds.
2019-03-03 00:37:06.279069: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:06.284672: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 14 of dimension 0 out of bounds.
2019-03-03 00:37:06.288659: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 2 of dimension 0 out of bounds.
2019-03-03 00:37:06.294607: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:06.299299: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 6 of dimension 0 out of bounds.
2019-03-03 00:37:06.302758: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 15 of dimension 0 out of bounds.
2019-03-03 00:37:06.306898: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.313542: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 15 of dimension 0 out of bounds.
2019-03-03 00:37:06.318016: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:06.335988: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 2 of dimension 0 out of bounds.
2019-03-03 00:37:06.341998: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 3 of dimension 0 out of bounds.
2019-03-03 00:37:06.347584: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:06.351637: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:06.359519: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 4 of dimension 0 out of bounds.
2019-03-03 00:37:06.364180: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.369639: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 2 of dimension 0 out of bounds.
2019-03-03 00:37:06.381126: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 10 of dimension 0 out of bounds.
2019-03-03 00:37:06.385108: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 3 of dimension 0 out of bounds.
2019-03-03 00:37:06.389984: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 5 of dimension 0 out of bounds.
2019-03-03 00:37:06.395463: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:06.399505: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:06.404988: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.415973: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.420961: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.423502: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.427003: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 5 of dimension 0 out of bounds.
2019-03-03 00:37:06.431539: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 6 of dimension 0 out of bounds.
2019-03-03 00:37:06.436101: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:06.438662: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:06.442337: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 2 of dimension 0 out of bounds.
2019-03-03 00:37:06.446503: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.451157: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.455133: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:06.458705: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 6 of dimension 0 out of bounds.
2019-03-03 00:37:06.463119: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.474654: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 11 of dimension 0 out of bounds.
2019-03-03 00:37:06.481472: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:06.484660: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 3 of dimension 0 out of bounds.
2019-03-03 00:37:06.487779: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.493548: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.496703: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 9 of dimension 0 out of bounds.
2019-03-03 00:37:06.505756: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.509811: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 6 of dimension 0 out of bounds.
2019-03-03 00:37:06.515822: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.524548: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
2019-03-03 00:37:06.527734: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 5 of dimension 0 out of bounds.
2019-03-03 00:37:06.539945: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at strided_slice_op.cc:233 : Invalid argument: slice index 1 of dimension 0 out of bounds.
Traceback (most recent call last):
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\client\session.py", line 1322, in _do_call
return fn(*args)
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\client\session.py", line 1307, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\client\session.py", line 1409, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: slice index 5 of dimension 0 out of bounds.
[[Node: gradients_1/hidden_layer_seq/while_1/strided_slice_grad/StridedSliceGrad = StridedSliceGrad[Index=DT_INT32, T=DT_FLOAT, begin_mask=0, ellipsis_mask=0, end_mask=0, new_axis_mask=0, shrink_axis_mask=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"](gradients_1/hidden_layer_seq/while_1/strided_slice_grad/StridedSliceGrad/StackPopV2, gradients_1/hidden_layer_seq/while_1/strided_slice_grad/StridedSliceGrad/StackPopV2_1, gradients_1/hidden_layer_seq/while_1/strided_slice_grad/StridedSliceGrad/StackPopV2_2, gradients_1/hidden_layer_seq/while_1/strided_slice_grad/StridedSliceGrad/Const_3, gradients_1/hidden_layer_seq/while_1/MatMul_grad/MatMul, ^gradients_1/hidden_layer_seq/while_1/MatMul_grad/MatMul_1)]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "model3v1.py", line 836, in
_, _loss, step = sess.run([train_op, total_loss, global_step_dep], feed_dict)
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\client\session.py", line 900, in run
run_metadata_ptr)
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\client\session.py", line 1135, in _run
feed_dict_tensor, options, run_metadata)
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\client\session.py", line 1316, in _do_run
run_metadata)
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\client\session.py", line 1335, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: slice index 5 of dimension 0 out of bounds.
[[Node: gradients_1/hidden_layer_seq/while_1/strided_slice_grad/StridedSliceGrad = StridedSliceGrad[Index=DT_INT32, T=DT_FLOAT, begin_mask=0, ellipsis_mask=0, end_mask=0, new_axis_mask=0, shrink_axis_mask=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"](gradients_1/hidden_layer_seq/while_1/strided_slice_grad/StridedSliceGrad/StackPopV2, gradients_1/hidden_layer_seq/while_1/strided_slice_grad/StridedSliceGrad/StackPopV2_1, gradients_1/hidden_layer_seq/while_1/strided_slice_grad/StridedSliceGrad/StackPopV2_2, gradients_1/hidden_layer_seq/while_1/strided_slice_grad/StridedSliceGrad/Const_3, gradients_1/hidden_layer_seq/while_1/MatMul_grad/MatMul, ^gradients_1/hidden_layer_seq/while_1/MatMul_grad/MatMul_1)]]
Caused by op 'gradients_1/hidden_layer_seq/while_1/strided_slice_grad/StridedSliceGrad', defined at:
File "model3v1.py", line 508, in
grads_vars = optimizer.compute_gradients(total_loss)
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\training\optimizer.py", line 526, in compute_gradients
colocate_gradients_with_ops=colocate_gradients_with_ops)
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\ops\gradients_impl.py", line 494, in gradients
gate_gradients, aggregation_method, stop_gradients)
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\ops\gradients_impl.py", line 636, in _GradientsHelper
lambda: grad_fn(op, *out_grads))
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\ops\gradients_impl.py", line 385, in _MaybeCompile
return grad_fn() # Exit early
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\ops\gradients_impl.py", line 636, in
lambda: grad_fn(op, *out_grads))
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\ops\array_grad.py", line 278, in _StridedSliceGrad
shrink_axis_mask=op.get_attr("shrink_axis_mask")), None, None, None
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\ops\gen_array_ops.py", line 8335, in strided_slice_grad
shrink_axis_mask=shrink_axis_mask, name=name)
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\framework\ops.py", line 3392, in create_op
op_def=op_def)
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\framework\ops.py", line 1718, in init
self._traceback = self._graph._extract_stack() # pylint: disable=protected-access
...which was originally created as op 'hidden_layer_seq/while_1/strided_slice', defined at:
File "model3v1.py", line 420, in
s_seq.get_shape(), tf.TensorShape([None, 100])])
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\ops\control_flow_ops.py", line 3224, in while_loop
result = loop_context.BuildLoop(cond, body, loop_vars, shape_invariants)
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\ops\control_flow_ops.py", line 2956, in BuildLoop
pred, body, original_loop_vars, loop_vars, shape_invariants)
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\ops\control_flow_ops.py", line 2893, in _BuildLoop
body_result = body(*packed_vars_for_body)
File "model3v1.py", line 413, in matmul_hl
temp = tf.tanh(tf.matmul(input_seq[j], W) + b)
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\ops\array_ops.py", line 597, in _slice_helper
name=name)
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\ops\array_ops.py", line 763, in strided_slice
shrink_axis_mask=shrink_axis_mask)
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\ops\gen_array_ops.py", line 8147, in strided_slice
name=name)
File "C:\Users\mazy\Anaconda3\envs\ten18\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
InvalidArgumentError (see above for traceback): slice index 5 of dimension 0 out of bounds.
[[Node: gradients_1/hidden_layer_seq/while_1/strided_slice_grad/StridedSliceGrad = StridedSliceGrad[Index=DT_INT32, T=DT_FLOAT, begin_mask=0, ellipsis_mask=0, end_mask=0, new_axis_mask=0, shrink_axis_mask=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"](gradients_1/hidden_layer_seq/while_1/strided_slice_grad/StridedSliceGrad/StackPopV2, gradients_1/hidden_layer_seq/while_1/strided_slice_grad/StridedSliceGrad/StackPopV2_1, gradients_1/hidden_layer_seq/while_1/strided_slice_grad/StridedSliceGrad/StackPopV2_2, gradients_1/hidden_layer_seq/while_1/strided_slice_grad/StridedSliceGrad/Const_3, gradients_1/hidden_layer_seq/while_1/MatMul_grad/MatMul, ^gradients_1/hidden_layer_seq/while_1/MatMul_grad/MatMul_1)]]
is this a problem caused by tf version or else? thanks