Skip to content
Snippets Groups Projects
Commit 08210241 authored by François  LAURENT's avatar François LAURENT
Browse files

bugfix for prev commit

parent 6a51168b
Branches
Tags
1 merge request!12Set of commits to be tagged v0.19
...@@ -70,7 +70,7 @@ class MaggotTrainer: ...@@ -70,7 +70,7 @@ class MaggotTrainer:
def prepare_dataset(self, dataset, training=False): def prepare_dataset(self, dataset, training=False):
if training: if training:
self.model.clf.config['training_dataset'] = self.model.path_for_config(dataset) self.model.clf.config['training_dataset'] = self.model.path_for_config(dataset.path)
try: try:
dataset.batch_size dataset.batch_size
except AttributeError: except AttributeError:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment