class_docstr: A simple class for handling the ImageNet data set.
class_docstr_tok: ["A","simple","class","for","handling","the","ImageNet","data","set","."]
docstr: Initialize dataset using a subset and the path to the data.
docstr_tok: ["Initialize","dataset","using","a","subset","and","the","path","to","the","data","."]
code: def __init__(self, subset):
      """Initialize dataset using a subset and the path to the data."""
      assert (
          subset in self.available_subsets()
      ), self.available_subsets()
      self.subset = subset
  
file_path: magenta/magenta/models/image_stylization/imagenet_data.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import sys
  import tensorflow.compat.v1
label_desc: Use image node_id 1 to create a new ImagenetData object from inherited base classes: object with example: obj = ImagenetData(subset)