mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-11 12:31:23 +08:00
docs
This commit is contained in:
@@ -1335,7 +1335,7 @@ class Trainer(TrainerIOMixin):
|
||||
log_output = output['log']
|
||||
|
||||
# reduce progress metrics for tqdm when using dp
|
||||
if train and(self.use_dp or self.use_ddp2):
|
||||
if train and (self.use_dp or self.use_ddp2):
|
||||
nb_gpus = self.num_gpus
|
||||
log_output = reduce_distributed_output(log_output, nb_gpus)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user