|
@@ -3,15 +3,13 @@
|
|
|
|
|
|
set -eux
|
|
|
|
|
|
-readonly CUR_TIME=$(date "+%s")
|
|
|
-
|
|
|
# SLANet_ch 模型是 PaddleOCR 目前最优的中文表格预训练模型
|
|
|
# https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.7/doc/doc_ch/table_recognition.md
|
|
|
readonly MODEL_NAME="SLANet_ch"
|
|
|
readonly MODEL_CONF="configs/table/${TABLE_NAME}.yml"
|
|
|
-
|
|
|
# 推理参数
|
|
|
readonly INFER_IMG_DIR="train_data/table-dataset/conv.v16i/all"
|
|
|
+readonly CUR_TIME=$(date "+%s")
|
|
|
|
|
|
edit_model() {
|
|
|
vim "${MODEL_CONF}"
|