File size: 578 Bytes
e9f9fd3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
from .fastai_compat import *
# Training data loading logic is currently disabled due to FastAI 1.x deprecation.
# To restore training support, this module needs to be rewritten using pure PyTorch Datasets/DataLoaders.
def get_colorize_data(
sz: int,
bs: int,
crappy_path: Path,
good_path: Path,
random_seed: int = None,
keep_pct: float = 1.0,
num_workers: int = 8,
stats: tuple = None,
xtra_tfms=[],
):
raise NotImplementedError("Training data loading not supported in this version.")
def get_dummy_databunch():
return DataBunch()
|