import tensorflow as tf

            if len(conflicts) > 0:
                tf.logging.info('Variables with incompatible shapes: \n\t{}'.format(
                    '\n\t'.join(conflicts)))
        else:
            var_list = None
        with tf.device('/cpu:0'):
            saver = tf.train.Saver(var_list=var_list, save_relative_paths=True)
        saver.restore(self.sess, checkpoint_path)

    def save(self, checkpoint_path):
