Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChenWu98/cycle-diffusion
/ get_model
Function
get_model
utils/program_utils.py:4–5 ·
view source on GitHub ↗
(model)
Source
from the content-addressed store, hash-verified
2
3
4
def
get_model(model):
5
return
importlib.import_module(
'model.{}'
.format(model)).Model
6
7
8
def
get_preprocessor(preprocess_program):
Callers
1
main
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected