def begin_session(self): """ Begins the session :return: None """ # start the tensorflow session ops.reset_default_graph() # initialize interactive session self.sess = tf.Session()