2 Commitit d046d2d764 ... 7b1ecb00eb

Tekijä SHA1 Viesti Päivämäärä
  liutao 7b1ecb00eb Merge branch 'master' of https://gogsb.soaringnova.com/chenguilong/ocr-table 2 vuotta sitten
  liutao ee74aaa65a modified: server.py 2 vuotta sitten

+ 4 - 0
server.py

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

BIN
tabel_SLANet_infer/inference.pdiparams


BIN
tabel_SLANet_infer/inference.pdiparams.info


BIN
tabel_SLANet_infer/inference.pdmodel