(config, **kwargs)
| 4 | from .backbone import * |
| 5 | |
| 6 | def build_backbone(config, **kwargs): |
| 7 | model_name = config['MODEL']['BACKBONE']['NAME'] |
| 8 | if not is_model(model_name): |
| 9 | raise ValueError(f'Unkown model: {model_name}') |
| 10 | |
| 11 | return model_entrypoints(model_name)(config, **kwargs) |
no test coverage detected