weinman / cnn_lstm_ctc_ocr

Tensorflow-based CNN+LSTM trained with CTC-loss for OCR
GNU General Public License v3.0
498 stars 170 forks source link

It's possible to use a pre-trained model? #55

Closed ambigus9 closed 4 years ago

ambigus9 commented 5 years ago

Hi, it is possible to train a model using my own data and also at the same time a pre-trained model? Thanks.

weinman commented 5 years ago

You can use the --tune_from flag of train.py to load a previous model training checkpoint with a different --train_path and/or --filename_pattern with which to continue training. Anything beyond that will likely require you to modify the code.