init_cfg = [dict(type='Constant', layer='Conv1d', val=1), dict(type='Constant', layer='Conv2d', val=2), dict(type='Constant', layer='Linear', val=3)] # nn.Conv1d will be initialized with dict(type='Constant', val=1) # nn.Conv2d will be initialized with dict(type='...
UserWarning: init_cfg without layer key, if you do not define override key either, this init_cfg will do nothing 'init_cfg without layer key, if you do not define override' WARNING - The model and loaded state dict do not match exactly U...
fetchone_dict() if not row: break if not b_only_custom or rhnChannel.isCustomChannel(row['id']): parent_channel = row['parent_channel'] if not parent_channel: d_parents[row['label']] = [] else: # If the parent is not a custom channel treat the child like # it's a parent ...
init_cfg = [dict(type='Constant', layer='Conv1d', val=1), dict(type='Constant', layer='Conv2d', val=2), dict(type='Constant', layer='Linear', val=3)] # nn.Conv1d will be initialized with dict(type='Constant', val=1) # nn.Conv2d will be initialized with dict(type='...