(self, logdir, split, type, **kwargs)
| 7 | |
| 8 | class BaseTask: |
| 9 | def __init__(self, logdir, split, type, **kwargs): |
| 10 | self.logdir = logdir |
| 11 | self.split = split |
| 12 | self.type = type |
| 13 | self.kwargs = kwargs |
| 14 | self.subtasks = [] |
| 15 | self.setup() |
| 16 | |
| 17 | def setup(self): |
| 18 | raise NotImplementedError() |