RubanSeven / CRAFT_keras

Keras implementation of Character Region Awareness for Text Detection (CRAFT)
Apache License 2.0
166 stars 57 forks source link

tensorflow.python.framework.errors_impl.InvalidArgumentError: slice index -1 of dimension 0 out of bounds. #14

Closed LinnaWang76 closed 4 years ago

LinnaWang76 commented 4 years ago

tensorflow.python.framework.errors_impl.InvalidArgumentError: slice index -1 of dimension 0 out of bounds. [ [{{node craft/map/while/strided_slice}} = StridedSlice[ 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:GPU:0"] (craft/map/while/TopKV2, craft/map/while/Reshape/shape, craft/map/while/strided_slice/stack_1, craft/map/while/strided_slice/stack_2) ]] [ [{{node loss/add_2/_1619}} = _Recv[ client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_13379_loss/add_2", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0" ]() ]]

-----------------------------------------------------