Open zmtbnv opened 2 years ago
I have similar issue: it trained well, and even recognize images immediately after training, but after i load model from disk - it stop working((
Did your model work immediately after training? (before saving/loading from disk) ?
I'm training for Japanese language - fonts, dataset/background generation and training all working with no issues. But recognition using
pipeline.recognize(images=[image])[0]
returning emtpy strings with correct bounding boxes like:recognizer
is custom trained model with Japanese full alphabet (hiragana, katakana, kanji, kigo) and its passed topipeline = keras_ocr.pipeline.Pipeline(detector=detector, recognizer=recognizer)
.Also, manually checked the result of
self.prediction_model.predict(X, **kwargs)
, and its returning following:And
recognize_from_boxes()
resulting in:Does anyone known what could be the issue?
Thank you.