
    9i                     2    S SK Jr  SSKJr   " S S\5      rg)   )DetEvaluator   )MODELSc                   "    \ rS rSrSr\rS rSrg)KeypointEvaluator   z Object Detection Model Evaluatorc                    U R                   R                  (       a/  U R                  R                  U R                   R                  5        U R                  R                  nSU R                  R
                  ;   a  U R                  R
                  S   OSnU R                  R                  U R                  R                  SUUS9  U R                  R                  U R                   R                  5        g)zupdate evaluation configdata_fieldsNKeypointTopDownCocoDataset)r
   metric)eval_configlog_interval
pdx_configupdate_log_intervalr   TrainDatasetupdate_datasetglobal_configdataset_dirupdate_weightsweight_path)selfr   r
   s      l/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/paddlex/modules/keypoint_detection/evaluator.pyupdate_configKeypointEvaluator.update_config   s    ((OO//0@0@0M0MN''  < << OO((7 	
 	&&**(#	 	' 	
 	&&t'7'7'C'CD     N)	__name__
__module____qualname____firstlineno____doc__r   entitiesr   __static_attributes__r   r   r   r   r      s    *HEr   r   N)object_detectionr   
model_listr   r   r   r   r   <module>r&      s     , E Er   