Skip to content

Commit

Permalink
Update audio_litmodule.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JusperLee authored Sep 23, 2024
1 parent e036588 commit 4630082
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions look2hear/system/audio_litmodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ def on_validation_epoch_end(self):
)

self.validation_step_outputs.clear() # free memory
torch.cuda.empty_cache()

def test_step(self, batch, batch_nb):
mixtures, targets = batch
Expand Down

0 comments on commit 4630082

Please sign in to comment.