Skip to content

Commit b2bc6b7

Browse files
committed
update doc
1 parent 40541bd commit b2bc6b7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

applications/PCB字符识别/PCB字符识别.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ python3 tools/eval.py \
425425
| 4 | PP-OCRv3中英文超轻量识别预训练模型 + fine-tune + 增加PCB图像数量 | 99.99% | +23.00% | 如果能获取更多数据量的情况,可以通过增加数据量提升效果 |
426426

427427
```
428-
注:上述实验结果均是在1,500张图片(1,200张训练集,300张测试集)、2W张图片、添加公开通用识别数据集上训练、评估的得到,AIstudio只提供了100张数据,所以指标有所差异属于正常,只要策略有效、规律相同即可。
428+
注:上述实验结果均是在1500张图片(1200张训练集,300张测试集)、2W张图片、添加公开通用识别数据集上训练、评估的得到,AIstudio只提供了100张数据,所以指标有所差异属于正常,只要策略有效、规律相同即可。
429429
```
430430

431431
# 6. 模型导出

paddleocr.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353

5454
DEFAULT_OCR_MODEL_VERSION = 'PP-OCRv3'
5555
SUPPORT_OCR_MODEL_VERSION = ['PP-OCR', 'PP-OCRv2', 'PP-OCRv3']
56-
DEFAULT_STRUCTURE_MODEL_VERSION = 'PP-Structurev2'
57-
SUPPORT_STRUCTURE_MODEL_VERSION = ['PP-Structure', 'PP-Structurev2']
56+
DEFAULT_STRUCTURE_MODEL_VERSION = 'PP-StructureV2'
57+
SUPPORT_STRUCTURE_MODEL_VERSION = ['PP-Structure', 'PP-StructureV2']
5858
MODEL_URLS = {
5959
'OCR': {
6060
'PP-OCRv3': {
@@ -272,7 +272,7 @@
272272
}
273273
}
274274
},
275-
'PP-Structurev2': {
275+
'PP-StructureV2': {
276276
'table': {
277277
'en': {
278278
'url':
@@ -326,10 +326,10 @@ def parse_args(mMain=True):
326326
"--structure_version",
327327
type=str,
328328
choices=SUPPORT_STRUCTURE_MODEL_VERSION,
329-
default='PP-Structurev2',
329+
default='PP-StructureV2',
330330
help='Model version, the current model support list is as follows:'
331331
' 1. PP-Structure Support en table structure model.'
332-
' 2. PP-Structurev2 Support ch and en table structure model.')
332+
' 2. PP-StructureV2 Support ch and en table structure model.')
333333

334334
for action in parser._actions:
335335
if action.dest in [

0 commit comments

Comments
 (0)