MCPcopy Index your code
hub / github.com/OpenGVLab/InternImage / set_weight_decay_and_lr

Function set_weight_decay_and_lr

classification/optimizer.py:98–158  ·  view source on GitHub ↗
(
    model,
    weight_decay,
    base_lr,
    skip_list=(),
    skip_keywords=(),
    lr_layer_decay=None,
    lr_layer_decay_ratio=None,
    freeze_backbone=None,
    dcn_lr_mul=None,
    layerwise_lr=True,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

get_parameter_groupsFunction · 0.90
build_optimizerFunction · 0.85

Calls 3

check_keywords_in_nameFunction · 0.85
check_keywords_in_dictFunction · 0.85
lr_decay_keywordsMethod · 0.45

Tested by

no test coverage detected