fit.fastai.vision.gan.GANLearner: Fit

Description Usage Arguments Value Examples

View source: R/GAN.R

Description

Fit the model on this learner with 'lr' learning rate, 'wd' weight decay for 'epochs' with 'callbacks'.

Usage

1
2
## S3 method for class 'fastai.vision.gan.GANLearner'
fit(object, ...)

Arguments

object

model

...

additonal parameters to pass

Value

train history

Examples

1
2
3
4
5
6
## Not run: 

learn %>% fit(1, 2e-4, wd = 0)


## End(Not run)

fastai documentation built on Oct. 25, 2021, 5:08 p.m.