mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
moved dataloaders after amp and optimizers
This commit is contained in:
@@ -401,7 +401,8 @@ class Trainer(TrainerIO):
|
||||
self.lr_schedulers.append(scheduler)
|
||||
|
||||
# print model summary
|
||||
ref_model.summarize()
|
||||
if self.proc_rank == 0:
|
||||
ref_model.summarize()
|
||||
|
||||
# give model convenience properties
|
||||
ref_model.trainer = self
|
||||
|
||||
Reference in New Issue
Block a user