
    9i                     2    S SK Jr  SSKJr   " S S\5      rg)   )BaseEvaluator   )MODELSc                   0    \ rS rSrSr\rS rS\4S jr	Sr
g)TableRecEvaluator   z!Table Recognition Model Evaluatorc                     U R                   R                  (       a/  U R                  R                  U R                   R                  5        U R                  R	                  U R
                  R                  S5        g)zupdate evaluation configPubTabTableRecDatasetN)eval_configlog_interval
pdx_configupdate_log_intervalupdate_datasetglobal_configdataset_dirselfs    k/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/paddlex/modules/table_recognition/evaluator.pyupdate_configTableRecEvaluator.update_config   sS    ((OO//0@0@0M0MN&&**,C	
    returnc                 P    U R                   R                  U R                  5       S.$ )zoget key-value arguments of model evaluation function

Returns:
    dict: the arguments of evaluation function.
)weight_pathdevice)r   r   
get_devicer   s    r   get_eval_kwargs!TableRecEvaluator.get_eval_kwargs"   s'      ++77oo'
 	
r    N)__name__
__module____qualname____firstlineno____doc__r   entitiesr   dictr   __static_attributes__r   r   r   r   r      s    +H
	
 	
r   r   N)baser   
model_listr   r   r   r   r   <module>r*      s     ! 
 
r   