Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/CompVis/diff2flow
/ load_partial_from_config
Function
load_partial_from_config
diff2flow/helpers.py:26–27 ·
view source on GitHub ↗
(config)
Source
from the content-addressed store, hash-verified
24
25
26
def
load_partial_from_config(config):
27
return
partial(get_obj_from_str(config[
'target'
]),**config.get(
'params'
,dict()))
28
29
30
def
load_model_from_config(config, ckpt, verbose=False, ignore_keys=[]):
Callers
2
make_loader
Method · 0.90
configure_optimizers
Method · 0.90
Calls
1
get_obj_from_str
Function · 0.85
Tested by
no test coverage detected