Skip to content

Commit

Permalink
resolve pb
Browse files Browse the repository at this point in the history
  • Loading branch information
camillebrianceau committed Sep 5, 2024
1 parent 44ca277 commit 0479bf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clinicadl/maps_manager/maps_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ def _check_args(self, parameters):
)

elif self.network_task == "regression" or self.network_task == "reconstruction":
self.n_classes = None
self.metrics_module = MetricModule(
evaluation_metrics(self.network_task), n_classes=None
)
Expand Down

0 comments on commit 0479bf4

Please sign in to comment.