code: def __init__(self, config: DictConfig):
      self.config = config
      self.training_config = self.config.training
  
      log_class_usage("Trainer", self.__class__)
  
file_path: mmf/mmf/trainers/base_trainer.py
imports: from abc import ABC, abstractmethod
  from mmf.common.registry import registry
  from mmf.utils.logger import log_class_usage
  from omegaconf import DictConfig
label_desc: Use image node_id 1 to create a new BaseTrainer object from inherited base classes: ABC with example: obj = BaseTrainer(config)