Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

state dict do not match in mmocr #1

Closed
jyshee opened this issue Nov 1, 2022 · 6 comments
Closed

state dict do not match in mmocr #1

jyshee opened this issue Nov 1, 2022 · 6 comments

Comments

@jyshee
Copy link

jyshee commented Nov 1, 2022

I converted the trained model to mmocr using tools/convert2mmocr.py, then use it as pretrained model by "load_from" in mmocr, coming into the "state dict do not match" warning:
image

anything wrong with tools/convert2mmocr.py?

@HannibalAPE
Copy link
Collaborator

Hi @jyshee , thanks for being interested in our work.
We are working with MMOCR, and a new version of MMOCR would be released this week.
There will be some fine-tuned OCR models with our pre-trained weights, which are trained by the MMOCR staff and will also be released soon.

Please refer to this PR: open-mmlab/mmocr#1458
cc @chxue233

@jyshee
Copy link
Author

jyshee commented Nov 2, 2022

Hi @jyshee , thanks for being interested in our work. We are working with MMOCR, and a new version of MMOCR would be released this week. There will be some fine-tuned OCR models with our pre-trained weights, which are trained by the MMOCR staff and will also be released soon.

Please refer to this PR: open-mmlab/mmocr#1458 cc @chxue233

Many thanks, looking forward the release!

@HannibalAPE
Copy link
Collaborator

@jyshee please check the latest commits of https://github.com/open-mmlab/mmocr/commits/dev-1.x

@HannibalAPE
Copy link
Collaborator

I am closing this issue. Feel free to open it if there is more questions.

@jyshee
Copy link
Author

jyshee commented Nov 4, 2022

I checkout to the dev-1.x branch, and try to train with 'configs/textdet/dbnet/dbnet_resnet50-oclip_1200e_icdar2015.py', but coming into another error:
image
It seems cause of plugins in CLIPBottleneck?
I am using mmengine==0.1.0 mmcv==2.0.0rc1 mmdet==3.0.0rc0.

@Harold-lkk
Copy link

I checkout to the dev-1.x branch, and try to train with 'configs/textdet/dbnet/dbnet_resnet50-oclip_1200e_icdar2015.py', but coming into another error: image It seems cause of plugins in CLIPBottleneck? I am using mmengine==0.1.0 mmcv==2.0.0rc1 mmdet==3.0.0rc0.

Can directly report the bug in MMOCR. Report at HERE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants