Spaces:
baselqt
/
No application file

LB5's picture
Upload 45 files
22b8701
raw
history blame contribute delete
294 Bytes
from abc import ABC, abstractmethod
import numpy as np
class BaseDataManager(ABC):
@abstractmethod
def __len__(self) -> int:
pass
@abstractmethod
def get(self) -> np.ndarray:
pass
@abstractmethod
def save(self, img: np.ndarray) -> None:
pass