Skip to content

Commit

Permalink
Regression in segmentation training
Browse files Browse the repository at this point in the history
Incorrect copying of hyperparameter data. Fixes #600.
  • Loading branch information
mittagessen committed May 5, 2024
1 parent 5fe2972 commit 2eba59f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kraken/lib/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ def setup(self, stage: Optional[str] = None):
self.val_set.dataset.class_mapping = self.nn.user_metadata['class_mapping']

# updates model's hyper params with user-defined ones
self.nn.hyper_params = self.hparams
self.nn.hyper_params = self.hparams.hyper_params

# change topline/baseline switch
loc = {None: 'centerline',
Expand Down

0 comments on commit 2eba59f

Please sign in to comment.