class_docstr: Base class for discrete data. 
class_docstr_tok: ["Base","class","for","discrete","data","."]
code: def __init__(self, model, source_dir, acts_dir, max_examples):
      self.source_dir = source_dir
      super(DiscreteActivationGeneratorBase, self).__init__(
          model=model, acts_dir=acts_dir, max_examples=max_examples
      )
  
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 1 to create a new DiscreteActivationGeneratorBase object from inherited base classes: ActivationGeneratorBase with example: obj = DiscreteActivationGeneratorBase(model, source_dir, acts_dir, max_examples)