Skip to content
Snippets Groups Projects
Commit 748430f5 authored by Yoann Schneider's avatar Yoann Schneider :tennis: Committed by Mélodie Boillet
Browse files

Remove curriculum code

parent 2c63c01c
No related branches found
No related tags found
1 merge request!234Remove curriculum code
...@@ -600,12 +600,6 @@ class GenericTrainingManager: ...@@ -600,12 +600,6 @@ class GenericTrainingManager:
metric_names = self.params["training_params"]["train_metrics"] metric_names = self.params["training_params"]["train_metrics"]
display_values = None display_values = None
# init curriculum learning
if (
"curriculum_learning" in self.params["training_params"].keys()
and self.params["training_params"]["curriculum_learning"]
):
self.init_curriculum()
# perform epochs # perform epochs
for num_epoch in range(self.latest_epoch + 1, nb_epochs): for num_epoch in range(self.latest_epoch + 1, nb_epochs):
# set models trainable # set models trainable
...@@ -925,9 +919,6 @@ class GenericTrainingManager: ...@@ -925,9 +919,6 @@ class GenericTrainingManager:
def evaluate_batch(self, batch_data, metric_names): def evaluate_batch(self, batch_data, metric_names):
raise NotImplementedError raise NotImplementedError
def init_curriculum(self):
raise NotImplementedError
def load_save_info(self, info_dict): def load_save_info(self, info_dict):
""" """
Load curriculum info from saved model info Load curriculum info from saved model info
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment