class_docstr: Provide methods to access metadata for :class:`ILSVRC12` dataset.
class_docstr_tok: ["Provide","methods","to","access","metadata","for",":","class",":","`","ILSVRC12","`","dataset","."]
docstr: Returns:
      dict: {cls_number: cls_name}
docstr_tok: ["Returns",":","dict",":","{","cls_number",":","cls_name","}"]
code: def get_synset_words_1000(self):
      """
      Returns:
          dict: {cls_number: cls_name}
      """
      fname = os.path.join(self.dir, "synset_words.txt")
      assert os.path.isfile(fname), fname
      lines = [x.strip() for x in open(fname).readlines()]
      return dict(enumerate(lines))
  
imports: import numpy
  import os
  import tarfile
  import tqdm
  from pathlib import Path
  from ...utils import logger
  from ...utils.fs import download, get_dataset_path, mkdir_p
  from ...utils.loadcaffe import get_caffe_pb
  from ...utils.timer import timed_operation
  from ..base import RNGDataFlow
label_desc: Use image node_id 2 for calling the ILSVRCMeta obj's underlying member method code with example usage: obj.get_synset_words_1000() and returns: dict