Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVlabs/SPADE
/ create_model
Function
create_model
models/__init__.py:39–44 ·
view source on GitHub ↗
(opt)
Source
from the content-addressed store, hash-verified
37
38
39
def
create_model(opt):
40
model = find_model_using_name(opt.model)
41
instance = model(opt)
42
print(
"model [%s] was created"
% (type(instance).__name__))
43
44
return
instance
Callers
nothing calls this directly
Calls
1
find_model_using_name
Function · 0.85
Tested by
no test coverage detected