You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/badwater/lw/mmsegmentation-main/mmseg/unet.py", line 32, in
main()
File "/home/badwater/lw/mmsegmentation-main/mmseg/unet.py", line 26, in main
model = build_backbone(backbone_cfg)
File "/home/badwater/lw/mmsegmentation-main/mmseg/models/builder.py", line 17, in build_backbone
return BACKBONES.build(cfg)
File "/home/badwater/miniconda3/envs/mmseg/lib/python3.8/site-packages/mmengine/registry/registry.py", line 570, in build
return self.build_func(cfg, *args, **kwargs, registry=self)
File "/home/badwater/miniconda3/envs/mmseg/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 232, in build_model_from_cfg
return build_from_cfg(cfg, registry, default_args)
File "/home/badwater/miniconda3/envs/mmseg/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 121, in build_from_cfg
obj = obj_cls(**args) # type: ignore
File "/home/badwater/lw/mmsegmentation-main/mmseg/models/backbones/unet.py", line 370, in init
UpConvBlock(
File "/home/badwater/lw/mmsegmentation-main/mmseg/models/utils/up_conv_block.py", line 77, in init
self.upsample = build_upsample_layer(
File "/home/badwater/miniconda3/envs/mmseg/lib/python3.8/site-packages/mmcv/cnn/bricks/upsample.py", line 85, in build_upsample_layer
raise KeyError(f'Cannot find {upsample} in registry under scope '
KeyError: 'Cannot find None in registry under scope name mmengine'
Why do I encounter this error when building UNet? However, I had no issues during training.
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/home/badwater/lw/mmsegmentation-main/mmseg/unet.py", line 32, in
main()
File "/home/badwater/lw/mmsegmentation-main/mmseg/unet.py", line 26, in main
model = build_backbone(backbone_cfg)
File "/home/badwater/lw/mmsegmentation-main/mmseg/models/builder.py", line 17, in build_backbone
return BACKBONES.build(cfg)
File "/home/badwater/miniconda3/envs/mmseg/lib/python3.8/site-packages/mmengine/registry/registry.py", line 570, in build
return self.build_func(cfg, *args, **kwargs, registry=self)
File "/home/badwater/miniconda3/envs/mmseg/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 232, in build_model_from_cfg
return build_from_cfg(cfg, registry, default_args)
File "/home/badwater/miniconda3/envs/mmseg/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 121, in build_from_cfg
obj = obj_cls(**args) # type: ignore
File "/home/badwater/lw/mmsegmentation-main/mmseg/models/backbones/unet.py", line 370, in init
UpConvBlock(
File "/home/badwater/lw/mmsegmentation-main/mmseg/models/utils/up_conv_block.py", line 77, in init
self.upsample = build_upsample_layer(
File "/home/badwater/miniconda3/envs/mmseg/lib/python3.8/site-packages/mmcv/cnn/bricks/upsample.py", line 85, in build_upsample_layer
raise KeyError(f'Cannot find {upsample} in registry under scope '
KeyError: 'Cannot find None in registry under scope name mmengine'
Why do I encounter this error when building UNet? However, I had no issues during training.
The text was updated successfully, but these errors were encountered: