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
No related branches found
No related tags found
1 merge request!12Set of commits to be tagged v0.19
......@@ -70,7 +70,7 @@ class MaggotTrainer:
def prepare_dataset(self, dataset, training=False):
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:
dataset.batch_size
except AttributeError:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment