code: def get_configuration(detector_name):
      # load configs for detector, base network and data set
      if detector_name == "FastRCNN":
          from FastRCNN.FastRCNN_config import cfg as detector_cfg
      elif detector_name == "FasterRCNN":
          from FasterRCNN.FasterRCNN_config import cfg as detector_cfg
      else:
          print("Unknown detector: {}".format(detector_name))
  
      # for VGG16 base model use:         from utils.configs.VGG16_config import cfg as network_cfg
      # for AlexNet base model use:       from utils.configs.AlexNet_config import cfg as network_cfg
      from utils.configs.AlexNet_config import cfg as network_cfg
  
      # for Pascal VOC 2007 data set use: from utils.configs.Pascal_config import cfg as dataset_cfg
      # for the Grocery data set use:     from utils.configs.Grocery_config import cfg as dataset_cfg
      from utils.configs.Grocery_config import cfg as dataset_cfg
  
      return merge_configs(
          [
              detector_cfg,
              network_cfg,
              dataset_cfg,
              {"DETECTOR": detector_name},
          ]
      )
  
imports: import os, sys
  import numpy
  import utils.od_utils
  from utils.config_helpers import merge_configs
label_desc: Use image node_id 2 for calling a global function with example usage: get_configuration(detector_name) and returns: merge_configs