from abc import ABC, abstractmethod | |
import numpy as np | |
class BaseDataManager(ABC): | |
def __len__(self) -> int: | |
pass | |
def get(self) -> np.ndarray: | |
pass | |
def save(self, img: np.ndarray) -> None: | |
pass | |
from abc import ABC, abstractmethod | |
import numpy as np | |
class BaseDataManager(ABC): | |
def __len__(self) -> int: | |
pass | |
def get(self) -> np.ndarray: | |
pass | |
def save(self, img: np.ndarray) -> None: | |
pass | |