PaddlePaddle / PaddleOCR

Awesome multilingual OCR toolkits based on PaddlePaddle (practical ultra lightweight OCR system, support 80+ languages recognition, provide data annotation and synthesis tools, support training and deployment among server, mobile, embedded and IoT devices)
https://paddlepaddle.github.io/PaddleOCR/
Apache License 2.0
44.25k stars 7.82k forks source link

PP-OCRv3 文本检测模型训练描述是否有误 #9111

Closed leoterry-ulrica closed 1 year ago

leoterry-ulrica commented 1 year ago

针对文档PP-OCRv3 文本检测模型训练 里面提到训练教师模型,一开始只让下载ResNet50_vd的预训练模型,没要求下载MobileNetV3的预训练模型,但配置文件ch_PP-OCRv3_det_dml.yml中Gloabal.pretrained_model值默认为MobileNetV3_large_x0_5_pretrained,是不是前面缺少要求下载MobileNetV3_large_x0_5_pretrained的说明,而在后面训练学生模型才提及到下载这个模型?

@WenmuZhou @andyjpaddle

an1018 commented 1 year ago

image 命令行里有的,resnet50训练教师模型,mobilenetv3训练学生模型,可以对比一下具体的训练命令

leoterry-ulrica commented 1 year ago

image 命令行里有的,resnet50训练教师模型,mobilenetv3训练学生模型,可以对比一下具体的训练命令

如果不提前下载好MobileNetV3模型,直接运行以下命令会提示找不到MobileNetV3模型的。 python tools/train.py -c configs/det/ch_PP-OCRv3/ch_PP-OCRv3_det_dml.yml -o Architecture.Models.Student.pretrained=./pretrain_models/ResNet50_vd_ssld_pretrained Architecture.Models.Student2.pretrained=./pretrain_models/ResNet50_vd_ssld_pretrained

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.