|
@@ -27,8 +27,9 @@ python paddlex/repo_manager/repos/PaddleOCR/tools/train.py -c zhch/table_structu
|
|
|
|
|
|
|
|
# 注意将pretrained_model的路径设置为本地路径。若使用自行训练保存的模型,请注意修改路径和文件名为{path/to/weights}/{model_name}。
|
|
# 注意将pretrained_model的路径设置为本地路径。若使用自行训练保存的模型,请注意修改路径和文件名为{path/to/weights}/{model_name}。
|
|
|
# demo 测试集评估
|
|
# demo 测试集评估
|
|
|
- python3 paddlex/repo_manager/repos/PaddleOCR/tools/eval.py zhch/table_structure_recognition/SLANet_plus_paddleocr.yml \
|
|
|
|
|
- -o Global.pretrained_model=./output/SLANet_plus/xxx.pdparams
|
|
|
|
|
|
|
+python paddlex/repo_manager/repos/PaddleOCR/tools/eval.py \
|
|
|
|
|
+ -c zhch/table_structure_recognition/SLANet_plus_paddleocr.yml \
|
|
|
|
|
+ -o Global.pretrained_model=./output/SLANet_plus/best_accuracy.pdparams \
|
|
|
Eval.dataset.data_dir=./dataset/table_rec_dataset_examples \
|
|
Eval.dataset.data_dir=./dataset/table_rec_dataset_examples \
|
|
|
Eval.dataset.label_file_list='[./dataset/table_rec_dataset_examples/val.txt]'
|
|
Eval.dataset.label_file_list='[./dataset/table_rec_dataset_examples/val.txt]'
|
|
|
|
|
|