Remove redundant abstract function

This commit is contained in:
Eren Gölge 2022-04-19 09:23:35 +02:00
parent 5cd7fa6228
commit 8f3552fbaa
1 changed files with 0 additions and 9 deletions

View File

@ -136,15 +136,6 @@ class BaseTrainerModel(ABC, nn.Module):
"""
...
@staticmethod
@abstractmethod
def init_from_config(config: Coqpit, samples: List[Dict] = None, verbose=False) -> "BaseTrainerModel":
"""Init the model from given config.
Override this depending on your model.
"""
...
@abstractmethod
def get_data_loader(
self, config: Coqpit, assets: Dict, is_eval: True, data_items: List, verbose: bool, num_gpus: int