code: def get_runner_class(cfg):
      """
      Get runner class from config. Default to epoch-based runner.
      """
      runner_cls = registry.get_runner_class(
          cfg.run_cfg.get("runner", "runner_base")
      )
  
      return runner_cls
  
imports: import argparse
  import os
  import random
  import numpy
  import torch
  import torch.backends.cudnn
  import lavis.tasks
  from lavis.common.config import Config
  from lavis.common.dist_utils import get_rank, init_distributed_mode
  from lavis.common.logger import setup_logger
  from lavis.common.optims import LinearWarmupCosineLRScheduler, LinearWarmupStepLRScheduler
  from lavis.common.registry import registry
  from lavis.common.utils import now
  from lavis.datasets.builders import *
  from lavis.models import *
  from lavis.processors import *
  from lavis.runners import *
  from lavis.tasks import *
label_desc: Use image node_id 3 for calling a global function with example usage: get_runner_class(cfg) and returns: runner_cls