瀏覽代碼

fixed logging/reporting for non-main MPI processes

Dimitri Korsch 3 年之前
父節點
當前提交
09aace1dae
共有 1 個文件被更改,包括 1 次插入0 次删除
  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