Skip to content
Snippets Groups Projects
Commit 38896d50 authored by Laura Christine Kühle's avatar Laura Christine Kühle
Browse files

Reduced number of testing epochs to 50.

parent d0222cae
Branches
Tags
No related merge requests found
...@@ -10,7 +10,7 @@ TODO: Fix random seed ...@@ -10,7 +10,7 @@ TODO: Fix random seed
TODO: Write-protect all data and models TODO: Write-protect all data and models
TODO: Put legend outside plot (bbox_to_anchor) TODO: Put legend outside plot (bbox_to_anchor)
TODO: Put plotting into separate function TODO: Put plotting into separate function
TODO: Reduce number of testing epochs to 50 TODO: Reduce number of testing epochs to 50 -> Done
""" """
import numpy as np import numpy as np
...@@ -205,7 +205,7 @@ class ModelTrainer(object): ...@@ -205,7 +205,7 @@ class ModelTrainer(object):
Dictionary containing classification evaluation data. Dictionary containing classification evaluation data.
""" """
self.epoch_training(training_set, num_epochs=100, verbose=False) self.epoch_training(training_set, num_epochs=50, verbose=False)
self._model.eval() self._model.eval()
x_test, y_test = test_set x_test, y_test = test_set
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment