Skip to content

Commit 8a90308

Browse files
committed
Refactoring.
1 parent dca1457 commit 8a90308

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

neural_structured_learning/research/gam/trainer/trainer_classification.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -738,12 +738,6 @@ def train(self, data, session=None, **kwargs):
738738
logging.info('Restoring best model...')
739739
self.saver.restore(session, self.checkpoint_path)
740740

741-
########################
742-
# TEST
743-
test_acc = self._evaluate(test_indices, 'test', session, summary_writer)
744-
print('\n\nTest acc after restoration: %f. Test at best val: %f \n\n' % (test_acc, best_test_acc))
745-
##########################
746-
747741
return best_test_acc, best_val_acc
748742

749743
def predict(self, session, indices, is_train):

0 commit comments

Comments
 (0)