Skip to content

Commit

Permalink
syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
phborba committed Sep 21, 2020
1 parent 77074f8 commit 8ce8889
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion segmentation_models_trainer/callbacks_loader/callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class CallbackList(JsonSchemaMixin):

def get_tf_objects(self):
return [
i.get_callback() for i in items
i.get_callback() for i in self.items
]


Expand Down
2 changes: 1 addition & 1 deletion segmentation_models_trainer/experiment_builder/metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class MetricList(JsonSchemaMixin):

def get_tf_objects(self):
return [
i.metric_obj for i in items
i.metric_obj for i in self.items
]

if __name__ == "__main__":
Expand Down

0 comments on commit 8ce8889

Please sign in to comment.