summaryrefslogtreecommitdiff
path: root/models/networks.py
diff options
context:
space:
mode:
authorHungryof <ziquanlanyue@163.com>2017-09-04 18:29:38 +0800
committerGitHub <noreply@github.com>2017-09-04 18:29:38 +0800
commit75ec31182ca8513633ef964165777468477a449f (patch)
tree398acb780c3d7ae25c8519fe3122e866d550cb9f /models/networks.py
parent60e4af620c93ffd1f056a1e161ce1c73e8d0fddd (diff)
Update networks.py
Diffstat (limited to 'models/networks.py')
-rw-r--r--models/networks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/networks.py b/models/networks.py
index 585b940..f48e7fe 100644
--- a/models/networks.py
+++ b/models/networks.py
@@ -26,7 +26,7 @@ def get_norm_layer(norm_type='instance'):
elif norm_type == 'instance':
norm_layer = functools.partial(nn.InstanceNorm2d, affine=False)
else:
- raise NotImplementedError('normalization layer [%s] is not found' % norm)
+ raise NotImplementedError('normalization layer [%s] is not found' % norm_type)
return norm_layer