12 lines
235 B
Python
12 lines
235 B
Python
|
from abc import ABC, abstractmethod
|
||
|
|
||
|
|
||
|
class ValDataloaderVariations(ABC):
|
||
|
|
||
|
@abstractmethod
|
||
|
def dataloader(self, train: bool):
|
||
|
"""placeholder"""
|
||
|
|
||
|
def val_dataloader(self):
|
||
|
return self.dataloader(train=False)
|