chinese_ocr icon indicating copy to clipboard operation
chinese_ocr copied to clipboard

训练自己数据集报错:tensorflow.python.framework.errors_impl.InvalidArgumentError: sequence_length(0) <= 159

Open cuimiao187561 opened this issue 6 years ago • 1 comments

tensorflow.python.framework.errors_impl.InvalidArgumentError: sequence_length(0) <= 159 [[{{node ctc/CTCLoss}} = CTCLoss[_class=["loc:@training/Adam/gradients/ctc/CTCLoss_grad/mul"], ctc_merge_repeated=true, ignore_longer_outputs_than_inputs=false, preprocess_collapse_repeated=false, _device="/job:localhost/replica:0/task:0/device:CPU:0"](ctc/Log/_2439, ctc/ToInt64/_2441, ctc/ToInt32_2/_2443, ctc/ToInt32_1/_2445)]] [[{{node training/Adam/gradients/ctc/ExpandDims_grad/Shape/_2461}} = _HostRecvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device_incarnation=1, tensor_name="edge_4298_training/Adam/gradients/ctc/ExpandDims_grad/Shape", tensor_type=DT_INT32, _device="/job:localhost/replica:0/task:0/device:GPU:0"]]

cuimiao187561 avatar Oct 24 '19 06:10 cuimiao187561

请问问题解决了吗?我现在也是遇到这个问题

pingzi5233 avatar Apr 10 '20 07:04 pingzi5233