Data_Loaders: Data Loaders

Description Usage Arguments Value Examples

View source: R/dataloader.R

Description

Data Loaders

Usage

1

Arguments

...

parameters to pass

Value

loader object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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 Oct. 25, 2021, 5:08 p.m.