code: def load(self):
      # Set run type
      self.run_type = self.config.get("run_type", "train")
  
      # Print configuration
      configuration = registry.get("configuration", no_warning=True)
      if configuration:
          configuration.pretty_print()
  
      # Configure device and cudnn deterministic
      self.configure_device()
      self.configure_seed()
  
      # Load dataset, model, optimizer and metrics
      self.load_datasets()
      self.load_model()
      self.load_optimizer()
      self.load_metrics()
  
      # Initialize Callbacks
      self.configure_callbacks()
  
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 2 for calling the BaseTrainer obj's underlying member method code with example usage: obj.load() without return types