a28293971 / ResNet_CRNN_OCR

This repo is used to train and run OCR model which is based on original CRNN and change it's backbone to the ResNet34.
GNU General Public License v2.0
9 stars 4 forks source link

Resnet #1

Open lyc728 opened 2 years ago

lyc728 commented 2 years ago

你好,关于resenet作为backbone,请问它是选取resnet多少(18,34,50)进行特征提取

a28293971 commented 2 years ago

I am using ResNet Block as part of the backbone, but I am not using the standard ResNet network. For details, please refer to the bellowed part of the code.

https://github.com/a28293971/ResNet_CRNN_OCR/blob/23c164aa273f687a692edaee1721982a25edebdf/lib/models/resNet_crnn.py#L53-L58

This looks a bit like ResNet50, but I added one more layer to achieve the 'height equals 1' condition and better model results.