clovaai / deep-text-recognition-benchmark

Text recognition (optical character recognition) with deep learning methods, ICCV 2019
Apache License 2.0
3.68k stars 1.08k forks source link

Pretrained model hyperparameters #220

Open ladanisavan opened 3 years ago

ladanisavan commented 3 years ago

Hi @ku21fan Just want to know which hyperparameters (no. of iterations, lr, batch size, optimizer) are used to train TPS-ResNet-BiLSTM-Attn-case-sensitive model? also what was the final training loss and validation loss? did you decrease lr during your training? thanks

ku21fan commented 3 years ago

Hello,

For TPS-ResNet-BiLSTM-Attn-case-sensitive model, I used the same setting in this repo.

I don't have log file now... so it is hard to answer the final training/validation loss I did not decrease lr during training.

Hope it helps, Best.

ladanisavan commented 3 years ago

Thanks for your quick reply!!

I'm training with adam optimizer and here is current statistics of my model training. Do you recommend to decrease learning rate?

ku21fan commented 3 years ago

Yes, decreasing the learning rate would be helpful :)

lvforce commented 2 years ago

@ku21fan I have a pre-trained model from EasyOCR(None-VGG-BiLSTM-CTC), and I want to retrain it on my own data.

Question: Should I freeze FeatureExtraction and SequenceModeling part and just fine-tune CTC and use -FT flag?