update doc

This commit is contained in:
WenmuZhou 2022-10-24 05:36:34 +00:00
parent 40541bde96
commit b2bc6b746c
2 changed files with 6 additions and 6 deletions

View File

@ -425,7 +425,7 @@ python3 tools/eval.py \
| 4 | PP-OCRv3中英文超轻量识别预训练模型 + fine-tune + 增加PCB图像数量 | 99.99% | +23.00% | 如果能获取更多数据量的情况,可以通过增加数据量提升效果 | | 4 | PP-OCRv3中英文超轻量识别预训练模型 + fine-tune + 增加PCB图像数量 | 99.99% | +23.00% | 如果能获取更多数据量的情况,可以通过增加数据量提升效果 |
``` ```
上述实验结果均是在1,500张图片1,200张训练集300张测试集、2W张图片、添加公开通用识别数据集上训练、评估的得到AIstudio只提供了100张数据所以指标有所差异属于正常只要策略有效、规律相同即可。 上述实验结果均是在1500张图片1200张训练集300张测试集、2W张图片、添加公开通用识别数据集上训练、评估的得到AIstudio只提供了100张数据所以指标有所差异属于正常只要策略有效、规律相同即可。
``` ```
# 6. 模型导出 # 6. 模型导出

View File

@ -53,8 +53,8 @@ BASE_DIR = os.path.expanduser("~/.paddleocr/")
DEFAULT_OCR_MODEL_VERSION = 'PP-OCRv3' DEFAULT_OCR_MODEL_VERSION = 'PP-OCRv3'
SUPPORT_OCR_MODEL_VERSION = ['PP-OCR', 'PP-OCRv2', 'PP-OCRv3'] SUPPORT_OCR_MODEL_VERSION = ['PP-OCR', 'PP-OCRv2', 'PP-OCRv3']
DEFAULT_STRUCTURE_MODEL_VERSION = 'PP-Structurev2' DEFAULT_STRUCTURE_MODEL_VERSION = 'PP-StructureV2'
SUPPORT_STRUCTURE_MODEL_VERSION = ['PP-Structure', 'PP-Structurev2'] SUPPORT_STRUCTURE_MODEL_VERSION = ['PP-Structure', 'PP-StructureV2']
MODEL_URLS = { MODEL_URLS = {
'OCR': { 'OCR': {
'PP-OCRv3': { 'PP-OCRv3': {
@ -272,7 +272,7 @@ MODEL_URLS = {
} }
} }
}, },
'PP-Structurev2': { 'PP-StructureV2': {
'table': { 'table': {
'en': { 'en': {
'url': 'url':
@ -326,10 +326,10 @@ def parse_args(mMain=True):
"--structure_version", "--structure_version",
type=str, type=str,
choices=SUPPORT_STRUCTURE_MODEL_VERSION, choices=SUPPORT_STRUCTURE_MODEL_VERSION,
default='PP-Structurev2', default='PP-StructureV2',
help='Model version, the current model support list is as follows:' help='Model version, the current model support list is as follows:'
' 1. PP-Structure Support en table structure model.' ' 1. PP-Structure Support en table structure model.'
' 2. PP-Structurev2 Support ch and en table structure model.') ' 2. PP-StructureV2 Support ch and en table structure model.')
for action in parser._actions: for action in parser._actions:
if action.dest in [ if action.dest in [