Selaa lähdekoodia

模型名称位置更改

xujiayue 2 vuotta sitten
vanhempi
commit
0bca77297b

BIN
SLAnet_1011/inference.pdiparams


BIN
SLAnet_1011/inference.pdiparams.info


BIN
SLAnet_1011/inference.pdmodel


BIN
en_ppocr_mobile_v2.0_table_structure_infer/inference.pdiparams


BIN
en_ppocr_mobile_v2.0_table_structure_infer/inference.pdiparams.info


BIN
en_ppocr_mobile_v2.0_table_structure_infer/inference.pdmodel


+ 0 - 0
det_table_1012/inference.pdiparams → models/det/det_table_v1/inference.pdiparams


+ 0 - 0
det_table_1012/inference.pdiparams.info → models/det/det_table_v1/inference.pdiparams.info


+ 0 - 0
det_table_1012/inference.pdmodel → models/det/det_table_v1/inference.pdmodel


+ 0 - 0
det_table_1014/inference.pdiparams → models/det/det_table_v2/inference.pdiparams


+ 0 - 0
det_table_1014/inference.pdiparams.info → models/det/det_table_v2/inference.pdiparams.info


+ 0 - 0
det_table_1014/inference.pdmodel → models/det/det_table_v2/inference.pdmodel


BIN
models/det/det_table_v3/inference.pdiparams


BIN
models/det/det_table_v3/inference.pdiparams.info


BIN
models/det/det_table_v3/inference.pdmodel


+ 0 - 0
SLAnet_1004/inference.pdiparams → models/table/SLAnet_v1/inference.pdiparams


+ 0 - 0
SLAnet_1004/inference.pdiparams.info → models/table/SLAnet_v1/inference.pdiparams.info


+ 0 - 0
SLAnet_1004/inference.pdmodel → models/table/SLAnet_v1/inference.pdmodel


+ 9 - 5
server.py

@@ -32,21 +32,25 @@ table_engine = PPStructure(layout=False,
                            table=True,
                            use_gpu=use_gpu,
                            show_log=True,
-                           det_model_dir="./det_table_1014",
-                           table_model_dir="./SLAnet_1004")
+                           det_model_dir="models/det/det_table_v2",
+                           rec_model_dir="./models/rec/rec_table_v1",
+                           table_model_dir="models/table/SLAnet_v1")
 
 table_engine1 = PPStructure(layout=False,
                             table=True,
                             use_gpu=use_gpu,
                             show_log=True,
-                            det_model_dir="./det_table_1012",
-                            table_model_dir="./SLAnet_1004")
+                            det_model_dir="models/det/det_table_v1",
+                            rec_model_dir="./models/rec/rec_table_v1",
+                            table_model_dir="./models/table/SLAnet_v1")
 
 table_engine2 = PPStructure(layout=False,
                             table=True,
                             use_gpu=use_gpu,
                             show_log=True,
-                            table_model_dir="./SLAnet_1011")
+                            det_model_dir="models/det/det_table_v3",
+                            rec_model_dir="./models/rec/rec_table_v1",
+                            table_model_dir="./models/table/SLAnet_v1")
 
 
 class TableInfo(BaseModel):