Ver código fonte

deleted: en_ppocr_mobile_v2.0_table_structure_infer/inference.pdiparams
deleted: en_ppocr_mobile_v2.0_table_structure_infer/inference.pdiparams.info
deleted: en_ppocr_mobile_v2.0_table_structure_infer/inference.pdmodel
modified: server.py
tabel_ocr_infer/

liutao 2 anos atrás
pai
commit
d3a92114d7

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


+ 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/en_ppocr_mobile_v2.0_table_structure_infer")
+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")
 
 
 class TableInfo(BaseModel):