Skip to content

Commit 3cb1065

Browse files
authored
Fix TypeError in main.py
remove extraneous argument outputs (L403, main.py)
1 parent db0fb7f commit 3cb1065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def on_train_epoch_start(self, trainer, pl_module):
400400
torch.cuda.synchronize(trainer.root_gpu)
401401
self.start_time = time.time()
402402

403-
def on_train_epoch_end(self, trainer, pl_module, outputs):
403+
def on_train_epoch_end(self, trainer, pl_module):
404404
torch.cuda.synchronize(trainer.root_gpu)
405405
max_memory = torch.cuda.max_memory_allocated(trainer.root_gpu) / 2 ** 20
406406
epoch_time = time.time() - self.start_time

0 commit comments

Comments
 (0)