MCPcopy Create free account
hub / github.com/UX-Decoder/Semantic-SAM / register_norm_module

Function register_norm_module

utils/model.py:25–27  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

23]
24
25def register_norm_module(cls):
26 NORM_MODULES.append(cls)
27 return cls
28
29def align_and_update_state_dicts(model_state_dict, ckpt_state_dict):
30 model_keys = sorted(model_state_dict.keys())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected