YCG09 / chinese_ocr

CTPN + DenseNet + CTC based end-to-end Chinese OCR implemented using tensorflow and keras
Apache License 2.0
2.74k stars 1.08k forks source link

Not enough time for target transition sequence (required: 47, available: 35)5You can turn this error into a warning by using the flag ignore_longer_outputs_than_inputs #312

Open cuimiao187561 opened 4 years ago

cuimiao187561 commented 4 years ago

训练自己数据集出现 [[{{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/_2419, ctc/ToInt64/_2421, ctc/ToInt32_2/_2423, ctc/ToInt32_1/_2425)]] [[{{node training/Adam/gradients/ctc/CTCLoss_grad/mul/_2449}} = _Recv[client_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_5157_training/Adam/gradients/ctc/CTCLoss_grad/mul", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:0"]()]]