update doc
parent
40541bde96
commit
b2bc6b746c
|
@ -425,7 +425,7 @@ python3 tools/eval.py \
|
|||
| 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. 模型导出
|
||||
|
|
10
paddleocr.py
10
paddleocr.py
|
@ -53,8 +53,8 @@ BASE_DIR = os.path.expanduser("~/.paddleocr/")
|
|||
|
||||
DEFAULT_OCR_MODEL_VERSION = 'PP-OCRv3'
|
||||
SUPPORT_OCR_MODEL_VERSION = ['PP-OCR', 'PP-OCRv2', 'PP-OCRv3']
|
||||
DEFAULT_STRUCTURE_MODEL_VERSION = 'PP-Structurev2'
|
||||
SUPPORT_STRUCTURE_MODEL_VERSION = ['PP-Structure', 'PP-Structurev2']
|
||||
DEFAULT_STRUCTURE_MODEL_VERSION = 'PP-StructureV2'
|
||||
SUPPORT_STRUCTURE_MODEL_VERSION = ['PP-Structure', 'PP-StructureV2']
|
||||
MODEL_URLS = {
|
||||
'OCR': {
|
||||
'PP-OCRv3': {
|
||||
|
@ -272,7 +272,7 @@ MODEL_URLS = {
|
|||
}
|
||||
}
|
||||
},
|
||||
'PP-Structurev2': {
|
||||
'PP-StructureV2': {
|
||||
'table': {
|
||||
'en': {
|
||||
'url':
|
||||
|
@ -326,10 +326,10 @@ def parse_args(mMain=True):
|
|||
"--structure_version",
|
||||
type=str,
|
||||
choices=SUPPORT_STRUCTURE_MODEL_VERSION,
|
||||
default='PP-Structurev2',
|
||||
default='PP-StructureV2',
|
||||
help='Model version, the current model support list is as follows:'
|
||||
' 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:
|
||||
if action.dest in [
|
||||
|
|
Loading…
Reference in New Issue