(self, opt)
| 7 | |
| 8 | class BaseModel(): |
| 9 | def __init__(self, opt): |
| 10 | self.opt = opt |
| 11 | self.device = torch.device('cuda' if opt['gpu_ids'] is not None else 'cpu') |
| 12 | self.is_train = opt['is_train'] |
| 13 | self.schedulers = [] |
| 14 | self.optimizers = [] |
| 15 | |
| 16 | def feed_data(self, data): |
| 17 | pass |
nothing calls this directly
no outgoing calls
no test coverage detected