code: def _get_annotations_path(self):
      filename = "instances_{}{}.json".format(self._split, self._year)
      base_dir = os.path.join(self._data_dir, filename)
      if tf.gfile.Exists(base_dir):
          return base_dir
  
      return os.path.join(self._data_dir, "annotations", filename)
  
file_path: luminoth/luminoth/tools/dataset/readers/object_detection/coco.py
imports: import json
  import os
  import tensorflow
  from luminoth.tools.dataset.readers import InvalidDataDirectory
  from luminoth.tools.dataset.readers.object_detection import ObjectDetectionReader
  from luminoth.utils.dataset import read_image
label_desc: Use image node_id 5 for calling the COCOReader obj's underlying member method code with example usage: obj._get_annotations_path() and returns: os, base_dir