class_docstr: Activation generator for a basic image model
class_docstr_tok: ["Activation","generator","for","a","basic","image","model"]
code: def get_examples_for_concept(self, concept):
      concept_dir = os.path.join(self.source_dir, concept)
      img_paths = [
          os.path.join(concept_dir, d)
          for d in tf.io.gfile.listdir(concept_dir)
      ]
      imgs = self.load_images_from_files(
          img_paths,
          self.max_examples,
          shape=self.model.get_image_shape()[:2],
      )
      return imgs
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from abc import ABCMeta
  from abc import abstractmethod
  from multiprocessing import dummy
  import os
  import os.path
  import numpy
  import PIL.Image
  import six
  import tensorflow
label_desc: Use image node_id 2 for calling the ImageActivationGenerator obj's underlying member method code with example usage: obj.get_examples_for_concept(concept) and returns: imgs