mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-25 12:50:57 +08:00
moved dataloaders after amp and optimizers
This commit is contained in:
1 parent
726dd1f61a
commit
abd8b2ea4e
1 file changed
+2
-1
@@ -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