(self, saver_name, save_path, ckpt_filename_template)
Restore the weights of best pre-trained models.
Restore the weights of best pre-trained models.
Restore the weights of best pre - trained models .
def restore_best(self, saver_name, save_path, ckpt_filename_template):
    """Restore the weights of best pre-trained models."""
    config_name = self.config_name
    exp_uid = self.exp_uid
    sess = self.sess
    saver = getattr(self.m, saver_name)
    restore_model(saver, config_name, exp_uid, sess, save_path,
                  ckpt_filename_template)
def restore_best ( self , saver_name , save_path , ckpt_filename_template ) : config_name = self . config_name exp_uid = self . exp_uid sess = self . sess saver = getattr ( self . m , saver_name ) restore_model ( saver , config_name , exp_uid , sess , save_path , ckpt_filename_template )