code: def get_dataset(dataset_type):
      dataset_type = dataset_type.lower()
      if dataset_type not in DATASETS:
          raise ValueError(
              '"{}" is not a valid dataset_type'.format(dataset_type)
          )
  
      if dataset_type == "tfrecord":
          tf.logging.warning(
              "Dataset `tfrecord` is deprecated. Use `object_detection` instead."
          )
  
      return DATASETS[dataset_type]
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_dataset(dataset_type) and returns: DATASETS