Skip to content

Commit

Permalink
Merge branch 'update-environment' of https://github.com/PMBio/deeprvat
Browse files Browse the repository at this point in the history
…into update-environment
  • Loading branch information
meyerkm committed Nov 19, 2024
2 parents 5cd873e + a80932f commit f236b9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deeprvat/deeprvat/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def on_validation_epoch_end(self):
self.best_objective, results[self.hparams.metrics["objective"]].item()
)

self.validation_step_outputs.clear() #free memory
self.validation_step_outputs.clear() # free memory

def test_step(self, batch: dict, batch_idx: int):
"""
Expand Down Expand Up @@ -278,7 +278,7 @@ def on_test_epoch_end(self):
self.best_objective, results[self.hparams.metrics["objective"]].item()
)

self.test_step_outputs.clear() #free memory
self.test_step_outputs.clear() # free memory

def configure_callbacks(self):
return [ModelSummary()]
Expand Down

0 comments on commit f236b9c

Please sign in to comment.