import tensorflow as tf

        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)

