Higher Level 'API' for 'torch'
Create an accelerator
Creates a dataloader from its input
Context object
Context object
Evaluates a fitted model on a dataset
Fit a nn_module
Get metrics from the object
Learning Rate Finder
Resume training callback
CSV logger callback
Early stopping callback
Gradient clipping callback
Interrupt callback
Keep the best model
Learning rate scheduler callback
Metrics callback
Automatic Mixed Precision callback
Mixup callback
Checkpoints model weights
Profile callback
Progress callback
Allow resume model training from a specific checkpoint
tfevents callback
Train-eval callback
Create a new callback
Loads a checkpoint
Loads model weights into a fitted object.
Load trained model
Accuracy
Binary accuracy with logits
Binary accuracy
Computes the area under the ROC
Mean absolute error
Mean squared error
Computes the multi-class AUROC
Root mean squared error
Creates a metric set
Creates a new luz metric
Saves luz objects to disk
Loss to be used with callbacks_mixup().
Mixup logic
Pipe operator
Create predictions for a fitted model
Objects exported from other packages
Set hyper-parameter of a module
Set optimizer hyper-parameters
Set's up a nn_module to use with luz
A high level interface for 'torch' providing utilities to reduce the the amount of code needed for common tasks, abstract away torch details and make the same code work on both the 'CPU' and 'GPU'. It's flexible enough to support expressing a large range of models. It's heavily inspired by 'fastai' by Howard et al. (2020) <doi:10.48550/arXiv.2002.04688>, 'Keras' by Chollet et al. (2015) and 'PyTorch Lightning' by Falcon et al. (2019) <doi:10.5281/zenodo.3828935>.
Useful links