YCG09 / chinese_ocr

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

basemodel和model #342

Open carlcarl001001 opened 4 years ago

carlcarl001001 commented 4 years ago

为什么在train.py里训练的时候用的时model.fit_generator,而在demo.py调用model.py里的predict()时,用的是y_pred = basemodel.predict(X)?basemodel是没经过ctc的吧!

wqt2019 commented 4 years ago

训练的时候是ctc loss,推理的时候没有ctc