(model_name, dataset, conf)
| 57 | |
| 58 | @staticmethod |
| 59 | def _get_classification_model(model_name, dataset, conf): |
| 60 | model = globals()[model_name](dataset, conf) |
| 61 | model = model.cuda(conf.device) if conf.device.startswith("cuda") else model |
| 62 | return model |
| 63 | |
| 64 | @staticmethod |
| 65 | def _load_checkpoint(file_name, model, use_cuda): |