Sfoglia il codice sorgente

fix: remove commented-out code for wireless table prediction to enhance code clarity

myhloli 2 mesi fa
parent
commit
28d0360ec3
1 ha cambiato i file con 0 aggiunte e 8 eliminazioni
  1. 0 8
      mineru/backend/pipeline/batch_analyze.py

+ 0 - 8
mineru/backend/pipeline/batch_analyze.py

@@ -189,14 +189,6 @@ class BatchAnalyze:
                 atom_model_name=AtomicModel.WirelessTable,
             )
             wireless_table_model.batch_predict(table_res_list_all_page)
-            # for table_res_dict in tqdm(table_res_list_all_page, desc="Table-wireless Predict"):
-            #     if not table_res_dict.get("ocr_result", None):
-            #         continue
-            #     html_code, table_cell_bboxes, logic_points, elapse = wireless_table_model.predict(
-            #         table_res_dict["table_img"], table_res_dict["ocr_result"]
-            #     )
-            #     if html_code:
-            #         table_res_dict["table_res"]["html"] = html_code
 
             # 单独拿出有线表格进行预测
             wired_table_res_list = []