diff --git a/mmseg/models/backbones/unet.py b/mmseg/models/backbones/unet.py index 1172937955..6cbda009df 100644 --- a/mmseg/models/backbones/unet.py +++ b/mmseg/models/backbones/unet.py @@ -329,6 +329,7 @@ def __init__(self, self.strides = strides self.downsamples = downsamples self.norm_eval = norm_eval + self.base_channels = base_channels self.encoder = nn.ModuleList() self.decoder = nn.ModuleList()