-
Notifications
You must be signed in to change notification settings - Fork 643
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
[Bug] #1340
Comments
Please check mmocr.md out. MRCNN is not supported. |
@AllentDan will you plan to support MaskRCNN? |
We recommend you use other algorithms like DBNet or PSENet. They are better than MRCNN. If you still want to use MRCNN to do text detection. You may try mmocr 1.x and mmdeploy 1.x. MMOCR 1.x directly uses MMDet models instead of maintaining codes of MRCNN in 0.x itself. BTW, we welcome your PR to MMDeploy. |
@AllentDan Are you sure that mmdeploy 1.x can convert mmocr 1.x model to onnx? I have spent a lot of time converting. |
Yes, whats's the error? |
Checklist
Describe the bug
mmdeploy/codebase/mmocr/deploy/text_detection.py 298行self.model_cfg.model.bbox_head,然而mmocr中的maskrcnn的模型config中的bbox_head为model.roi_head.bbox_head,因此这里应该是有个bug
Reproduction
直接使用mmdeploy将mmocr训练得到的torch模型转化为onnx模型时就会出现
Environment
Error traceback
No response
The text was updated successfully, but these errors were encountered: