def get_best_weights(self): if exists(self.best_weight_dir): return tf.train.latest_checkpoint(self.best_weight_dir) return None