From 1a16f5b0f9550a1809b6fb8fd8f9208e3aaf9932 Mon Sep 17 00:00:00 2001 From: XiwuChen Date: Tue, 1 Mar 2022 16:28:26 +0800 Subject: [PATCH] fix typo in conv.py Fix typo in conv.py. --- mmcv/cnn/bricks/conv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmcv/cnn/bricks/conv.py b/mmcv/cnn/bricks/conv.py index cf54491997..f6c35fd70b 100644 --- a/mmcv/cnn/bricks/conv.py +++ b/mmcv/cnn/bricks/conv.py @@ -35,7 +35,7 @@ def build_conv_layer(cfg, *args, **kwargs): layer_type = cfg_.pop('type') if layer_type not in CONV_LAYERS: - raise KeyError(f'Unrecognized norm type {layer_type}') + raise KeyError(f'Unrecognized layer type {layer_type}') else: conv_layer = CONV_LAYERS.get(layer_type)