mmsegmentation
mmsegmentation copied to clipboard
Default weight initialization
Hi,
If I don't specify any weight initialization method in init_cfg or implement a custom init_weights() function, how does mmseg assign the initial weights? What is the default method used to assign the initial weights for an encoder/decoder?
some model set their own init when init_cfg=None
example:
mmseg/models/backbones/swin.py:664
If in your model, this cornercase is not handled, it seems the value are from then the tensor was created: random, (which is a very bad idea and will lead to bad performance)