def test_on_files_no_preload(self): cfp = default_cross_fold_params( default_files_trainer_params(preload=False)) with tempfile.TemporaryDirectory() as d: cfp.best_models_dir = d main(cfp)
def test_on_files_augmentation(self): cfp = default_cross_fold_params(default_files_trainer_params(), with_augmentation=True) with tempfile.TemporaryDirectory() as d: cfp.best_models_dir = d main(cfp)
def test_on_files_all_pretrained(self): cfp = default_cross_fold_params(default_files_trainer_params(), pretrained="all") with tempfile.TemporaryDirectory() as d: cfp.best_models_dir = d main(cfp)
def test_on_files(self): cfp = default_cross_fold_params(default_files_trainer_params()) cfp.run_split = "" with tempfile.TemporaryDirectory() as d: cfp.best_models_dir = d main(cfp)