File size: 181 Bytes
872b0a0 | 1 2 3 4 5 6 7 8 9 10 | from .pwclite import PWCLite
def get_model(cfg):
if cfg.type == "pwclite":
model = PWCLite(cfg)
else:
raise NotImplementedError(cfg.type)
return model
|
872b0a0 | 1 2 3 4 5 6 7 8 9 10 | from .pwclite import PWCLite
def get_model(cfg):
if cfg.type == "pwclite":
model = PWCLite(cfg)
else:
raise NotImplementedError(cfg.type)
return model
|