From 939109d23c514490aa963512ca2433044ae983e1 Mon Sep 17 00:00:00 2001 From: wuyefeilin <30919197+wuyefeilin@users.noreply.github.com> Date: Tue, 2 Feb 2021 16:33:01 +0800 Subject: [PATCH] Update layer_libs.py --- paddleseg/models/layers/layer_libs.py | 1 - 1 file changed, 1 deletion(-) diff --git a/paddleseg/models/layers/layer_libs.py b/paddleseg/models/layers/layer_libs.py index 84746a6913..b9913cd945 100644 --- a/paddleseg/models/layers/layer_libs.py +++ b/paddleseg/models/layers/layer_libs.py @@ -22,7 +22,6 @@ def SyncBatchNorm(*args, **kwargs): if paddle.get_device() == 'cpu': return nn.BatchNorm2D(*args, **kwargs) elif paddle.distributed.ParallelEnv().nranks == 1: - print('using batch norm') return nn.BatchNorm2D(*args, **kwargs) else: return nn.SyncBatchNorm(*args, **kwargs)