class_docstr: Coco annotation helper class.
class_docstr_tok: ["Coco","annotation","helper","class","."]
docstr: Return the category dicts, as sorted in the file.
docstr_tok: ["Return","the","category","dicts",",","as","sorted","in","the","file","."]
code: def categories(self):
      """Return the category dicts, as sorted in the file."""
      return self._data["categories"]
  
imports: from __future__ import annotations
  import collections
  import json
  import os
  from absl import logging
  from etils import epath
  import numpy
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 2 for calling the CocoAnnotation obj's underlying member method code with example usage: obj.categories() and returns: self