Explorar el Código

fixed logging/reporting for non-main MPI processes

Dimitri Korsch hace 3 años
padre
commit
09aace1dae
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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