Przeglądaj źródła

fixed logging/reporting for non-main MPI processes

Dimitri Korsch 3 lat temu
rodzic
commit
09aace1dae
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      cvfinetune/finetuner/mpi.py

+ 1 - 0
cvfinetune/finetuner/mpi.py

@@ -81,6 +81,7 @@ class MPIFinetuner(DefaultFinetuner):
 
 	def run(self, trainer_cls, opts, *args, **kwargs):
 		if not self.mpi_main_process:
+			kwargs["no_observe"] = True
 			opts.no_snapshot = True
 			opts.no_progress = True
 			self.evaluator._progress_bar = False