File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed
paddlex/inference/results Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -65,10 +65,6 @@ def save_to_json(self, save_path):
6565 layout_save_path = f"{ save_path } _layout.jpg"
6666 ocr_save_path = f"{ save_path } _ocr.jpg"
6767 table_save_path = f"{ save_path } _table"
68- self ["input_path" ] = layout_save_path
69- self ["layout_result" ]["input_path" ] = layout_save_path
70- self ["layout_parsing_result" ]["input_path" ] = layout_save_path
71- self ["ocr_result" ]["input_path" ] = ocr_save_path
7268 table_result_num = len (self ["table_result" ])
7369 for idx in range (table_result_num ):
7470 self ["table_result" ][idx ]["input_path" ] = "{}_{:04d}" .format (
Original file line number Diff line number Diff line change @@ -164,8 +164,6 @@ def save_to_json(self, save_path):
164164 save_path = Path (save_path ).stem
165165
166166 formula_save_path = f"{ save_path } _formula.jpg"
167- self ["input_path" ] = formula_save_path
168- self ["layout_result" ]["input_path" ] = formula_save_path
169167 if not str (save_path ).endswith (".json" ):
170168 save_path = "{}.json" .format (save_path )
171169 super ().save_to_json (save_path )
You can’t perform that action at this time.
0 commit comments