code: def category_names(self):
          '''
          Returns category names of 1000 ImageNet classes.
          '''
          if hasattr(self, '_category_names'):
              return self._category_names
          with open(os.path.join(os.path.dirname(__file__), 'category_names.txt'), 'r') as fd:
              self._category_names = fd.read().splitlines()
          return self._category_namef category_names(self):
          '''
          Returns category names of 1000 ImageNet classes.
          '''
          if hasattr(self, '_category_names'):
              return self._category_names
          with open(os.path.join(os.path.dirname(__file__), 'category_names.txt'), 'r') as fd:
              self._category_names = fd.read().splitlines()
          return self._category_names
docs: Returns category names of 1000 ImageNet classes.