
    |-j?                     F    d dl mZ ddlmZ ddlmZ  G d de          ZdS )	   UnsupportedAPIError   )BaseTrainer   )MODELSc                   .    e Zd ZdZeZd Zd ZdefdZ	dS )DocVLMTrainerz&Document Vision Language Model Trainerc                      t          d          )Nz=Document vision language models do not support train for now.r   )selfconfigs     _/var/www/html/banglarbhumi/venv/lib/python3.11/site-packages/paddlex/modules/doc_vlm/trainer.py__init__zDocVLMTrainer.__init__   s    !K
 
 	
    c                     dS )zupdate training configN )r   s    r   update_configzDocVLMTrainer.update_config   s      r   returnc                 2    d|                                  i}|S )zget key-value arguments of model training function

        Returns:
            dict: the arguments of training function.
        device)
get_device)r   
train_argss     r   get_train_kwargszDocVLMTrainer.get_train_kwargs"   s      1 12
r   N)
__name__
__module____qualname____doc__r   entitiesr   r   dictr   r   r   r   r
   r
      sX        00H
 
 
% % %$      r   r
   N)utils.errorsr   baser   
model_listr   r
   r   r   r   <module>r#      sq    0 / / / / /                K     r   