Data_Loaders: Data Loaders

View source: R/dataloader.R

Data_LoadersR Documentation

Data Loaders

Description

Data Loaders

Usage

Data_Loaders(...)

Arguments

...

parameters to pass

Value

loader object

Examples


## Not run: 

data = Data_Loaders(train_loader, test_loader)

learn = Learner(data, Net(), loss_func = F$nll_loss,
                opt_func = Adam(), metrics = accuracy, cbs = CudaCallback())

learn %>% fit_one_cycle(1, 1e-2)


## End(Not run)


fastai documentation built on June 22, 2024, 11:15 a.m.