Different between pretrain and calling local model #1102
Unanswered
RickyGunawan09
asked this question in
Q&A
Replies: 1 comment
-
Hi @RickyGunawan09 👋, apologize the late response. If i understand it correctly you used the already pretrained models but load it local !? I tried to reproduce it but all looks fine to me:
BTW: the hash from the db_resnet50 model you used looks like an older one could you verify that it is the latest one ? (all downloaded models are stored in /home/user/.cache/doctr/models ) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
haii thank you for this wonderful GitHub,
sorry for up a discussion again but I get a different output between using local model and pretrain from doctr.
#pretrain
model = ocr_predictor(det_arch='db_resnet50', reco_arch='crnn_vgg16_bn', pretrained=True,preserve_aspect_ratio=True)
#load_from_path
What's the difference?
I try to read your code but I cannot find it
thank you !! @frgfm @fg-mindee
#using pretrain

#using local model

Beta Was this translation helpful? Give feedback.
All reactions