|
|
@@ -57,7 +57,9 @@ class PaddleTableClassifier(BaseAdapter):
|
|
|
|
|
|
# 初始化调试工具
|
|
|
self.debug_utils = WiredTableDebugUtils()
|
|
|
- self.debug_options = self.debug_utils.merge_debug_options(self.config)
|
|
|
+ self.debug_options = self.debug_utils.merge_debug_options(
|
|
|
+ self.config, default_subdir="table_classification"
|
|
|
+ )
|
|
|
self.visualizer = WiredTableVisualizer()
|
|
|
|
|
|
def initialize(self):
|
|
|
@@ -106,8 +108,9 @@ class PaddleTableClassifier(BaseAdapter):
|
|
|
|
|
|
# 合并调试选项
|
|
|
merged_debug_opts = self.debug_utils.merge_debug_options(
|
|
|
- self.config,
|
|
|
- override=debug_options
|
|
|
+ self.config,
|
|
|
+ override=debug_options,
|
|
|
+ default_subdir="table_classification",
|
|
|
)
|
|
|
|
|
|
try:
|