Hey,
init_weights method in utils/utils.py has a bug
`def init_weights(model):
for name, module in model.named_modules():
is_conv_layer = isinstance(module, nn.Conv2d)
if is_conv_layer:
if "conv_list" or "header" in name:
variance_scaling_(module.weight.data)
else:
nn.init.kaiming_uniform_(module.weight.data)
if "conv_list" or "header" in name:is always going to be True as it will basically check the length of the 'conv_list' string which is always greater than 0. The check should beif "conv_list" in name or "header" in name:`
Hey, init_weights method in utils/utils.py has a bug `def init_weights(model): for name, module in model.named_modules(): is_conv_layer = isinstance(module, nn.Conv2d)
is always going to be True as it will basically check the length of the 'conv_list' string which is always greater than 0. The check should be
if "conv_list" in name or "header" in name:`