Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/VisionXLab/OF-Diff
/ get_state_dict
Function
get_state_dict
cldm/model.py:8–9 ·
view source on GitHub ↗
(d)
Source
from the content-addressed store, hash-verified
6
7
8
def
get_state_dict(d):
9
return
d.get(
'state_dict'
, d)
10
11
12
# def load_state_dict(ckpt_path, location='cpu'):
Callers
1
load_state_dict
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected