class_docstr: Dataset from the INaturalist Competition 2017.
docstr: Define the dataset info.
docstr_tok: ["Define","the","dataset","info","."]
code: def _info(self):
      """Define the dataset info."""
      return tfds.core.DatasetInfo(
          builder=self,
          description=_DESCRIPTION,
          features=tfds.features.FeaturesDict(
              {
                  "id": tfds.features.Text(),
                  "image": tfds.features.Image(),
                  "label": tfds.features.ClassLabel(
                      names_file=tfds.core.tfds_path(
                          os.path.join(
                              "image_classification",
                              "inaturalist_labels.txt",
                          )
                      )
                  ),
                  "supercategory": tfds.features.ClassLabel(
                      names_file=tfds.core.tfds_path(
                          os.path.join(
                              "image_classification",
                              "inaturalist_supercategories.txt",
                          )
                      )
                  ),
              }
          ),
          supervised_keys=("image", "label"),
          homepage="https://github.com/visipedia/inat_comp/tree/master/2017",
          citation=_CITATION,
      )
  
file_path: datasets/tensorflow_datasets/image_classification/inaturalist.py
imports: import json
  import os
  import six.moves.urllib
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 for calling the INaturalist2017 obj's underlying member method code with example usage: obj._info() and returns: tfds