class_docstr: Sun397 Scene Recognition Benchmark.
class_docstr_tok: ["Sun397","Scene","Recognition","Benchmark","."]
code: def _load_image_set_from_file(self, filepath):
      with tf.io.gfile.GFile(os.fspath(filepath), mode="r") as f:
          return set([line.strip() for line in f])
  
imports: import io
  import os
  from absl import logging
  import numpy
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 7 for calling the Builder obj's underlying member method code with example usage: obj._load_image_set_from_file(filepath) and returns: set