Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PaddleOCR-2.9
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wuzekai
PaddleOCR-2.9
Commits
3bc14029
Commit
3bc14029
authored
Jul 08, 2025
by
wuzekai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update instruction.txt
parent
5e3d2d59
Pipeline
#562
canceled with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
instruction.txt
instruction.txt
+12
-0
No files found.
instruction.txt
View file @
3bc14029
...
@@ -17,3 +17,15 @@ python tools/export_model.py -c "./configs/det/ch_ppocr_v2.0/ch_det_res18_db_v2.
...
@@ -17,3 +17,15 @@ python tools/export_model.py -c "./configs/det/ch_ppocr_v2.0/ch_det_res18_db_v2.
python tools/export_model.py -c "./configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_teacher.yml" -o Global.pretrained_model="./output/ch_PP-OCRv4/best_accuracy.pdparams" Global.save_inference_dir="./inference_model/det_v4/"
python tools/export_model.py -c "./configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_teacher.yml" -o Global.pretrained_model="./output/ch_PP-OCRv4/best_accuracy.pdparams" Global.save_inference_dir="./inference_model/det_v4/"
python tools/export_model.py -c "./configs/rec/ch_ppocr_v2.0/rec_chinese_common_train_v2.0.yml" -o Global.pretrained_model="./output/rec_chinese_common_v2.0/best_accuracy.pdparams" Global.save_inference_dir="./inference_model/rec_v2/"
python tools/export_model.py -c "./configs/rec/ch_ppocr_v2.0/rec_chinese_common_train_v2.0.yml" -o Global.pretrained_model="./output/rec_chinese_common_v2.0/best_accuracy.pdparams" Global.save_inference_dir="./inference_model/rec_v2/"
python tools/export_model.py -c "./configs/rec/PP-OCRv4/ch_PP-OCRv4_rec_hgnet.yml" -o Global.pretrained_model="./output/rec_ppocr_v4_hgnet/best_accuracy.pdparams" Global.save_inference_dir="./inference_model/rec_v4/"
python tools/export_model.py -c "./configs/rec/PP-OCRv4/ch_PP-OCRv4_rec_hgnet.yml" -o Global.pretrained_model="./output/rec_ppocr_v4_hgnet/best_accuracy.pdparams" Global.save_inference_dir="./inference_model/rec_v4/"
#训练模型进行测试集评估指标指令
python tools/eval.py -c configs/det/ch_ppocr_v2.0/ch_det_res18_db_v2.0.yml -o Global.pretrained_model=output/ch_db_res18/best_accuracy.pdparams -o Eval.dataset.label_file_list=["./train_data/det/test.txt"]
python tools/eval.py -c configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_teacher.yml -o Global.pretrained_model=output/ch_PP-OCRv4/best_accuracy.pdparams -o Eval.dataset.label_file_list=["./train_data/det/test.txt"]
python tools/eval.py -c configs/rec/ch_ppocr_v2.0/rec_chinese_common_train_v2.0.yml -o Global.pretrained_model=output/rec_chinese_common_v2.0/best_accuracy.pdparams -o Eval.dataset.label_file_list=["./train_data/rec/test.txt"]
python tools/eval.py -c configs/rec/PP-OCRv4/ch_PP-OCRv4_rec_hgnet.yml -o Global.pretrained_model=output/rec_ppocr_v4_hgnet/best_accuracy.pdparams -o Eval.dataset.label_file_list=["./train_data/rec/test.txt"]
#训练模型进行测试集评估结果指令
python tools/infer_det.py -c configs/det/ch_ppocr_v2.0/ch_det_res18_db_v2.0.yml -o Global.pretrained_model=output/ch_db_res18/best_accuracy.pdparams Global.infer_img_folder="/home/wuzekai/PaddleOCR-2.9/train_data/det/test"
python tools/infer_det.py -c configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_teacher.yml -o Global.pretrained_model=output/ch_PP-OCRv4/best_accuracy.pdparams Global.infer_img_folder="/home/wuzekai/PaddleOCR-2.9/train_data/det/test"
python tools/infer_rec.py -c configs/rec/ch_ppocr_v2.0/rec_chinese_common_train_v2.0.yml -o Global.pretrained_model=output/rec_chinese_common_v2.0/best_accuracy.pdparams Global.infer_list="/home/wuzekai/PaddleOCR-2.9/train_data/rec/test.txt"
python tools/infer_rec.py -c configs/rec/PP-OCRv4/ch_PP-OCRv4_rec_hgnet.yml -o Global.pretrained_model=output/rec_ppocr_v4_hgnet/best_accuracy.pdparams Global.infer_list="/home/wuzekai/PaddleOCR-2.9/train_data/rec/test.txt"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment