浏览代码

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 年之前
父节点
当前提交
ee74aaa65a
共有 4 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server.py
  2. 二进制
      tabel_SLANet_infer/inference.pdiparams
  3. 二进制
      tabel_SLANet_infer/inference.pdiparams.info
  4. 二进制
      tabel_SLANet_infer/inference.pdmodel

+ 1 - 1
server.py

@@ -31,7 +31,7 @@ if os.getenv('USE_CUDA') == '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):

二进制
tabel_SLANet_infer/inference.pdiparams


二进制
tabel_SLANet_infer/inference.pdiparams.info


二进制
tabel_SLANet_infer/inference.pdmodel