import tensorflow as tf

            config = tf.ConfigProto(allow_soft_placement = True)
            config.gpu_options.allow_growth = True
            self.sess = tf.Session(config=config, graph=self.graph)
            self.sess.run(self.init)
