docstr: Returns category names of object detection dataset.
docstr_tok: ["Returns","category","names","of","object","detection","dataset","."]
code: def get_category_names(self):
      """
      Returns category names of object detection dataset.
      """
      if hasattr(self, "_category_names"):
          return self._category_names
      assert hasattr(
          self, "_dataset_name"
      ), "A class attribute _dataset_name must be set."
      with open(
          os.path.join(
              os.path.dirname(__file__),
              "{}.names".format(self._dataset_name),
          ),
          "r",
      ) as fd:
          self._category_names = fd.read().splitlines()
      return self._category_names
  
file_path: nnabla/python/src/nnabla/models/object_detection/base.py
imports: from __future__ import absolute_import
  from nnabla.utils.nnp_graph import NnpLoader
  from ..utils import *
label_desc: Use image node_id 4 for calling the ObjectDetection obj's underlying member method code with example usage: obj.get_category_names() and returns: self, self