Browse Source

modified: server.py
deleted: tabel_SLANet_infer/inference.pdiparams
deleted: tabel_SLANet_infer/inference.pdiparams.info
deleted: tabel_SLANet_infer/inference.pdmodel
SLANet/
inference.pdiparams
inference.pdiparams.info
inference.pdmodel

liutao 2 years ago
parent
commit
ee74aaa65a

+ 1 - 1
server.py

@@ -31,7 +31,7 @@ if os.getenv('USE_CUDA') == 'gpu':
 print(f'use gpu: {use_gpu}')
 print(f'use gpu: {use_gpu}')
 
 
 # 初始化模型
 # 初始化模型
-table_engine = PPStructure(layout=False, table=True, show_log=True, table_model_dir="/Users/sxkj/opt/python-workspace/yili-ocr/ocr-table/table_ocr_infer")
+table_engine = PPStructure(layout=False, table=True, show_log=True, table_model_dir="/Users/sxkj/opt/python-workspace/yili-ocr/ocr-table/SLANet/")
 
 
 
 
 class TableInfo(BaseModel):
 class TableInfo(BaseModel):

BIN
tabel_SLANet_infer/inference.pdiparams


BIN
tabel_SLANet_infer/inference.pdiparams.info


BIN
tabel_SLANet_infer/inference.pdmodel