/FastAI.jl

Repository of best practices for deep learning in Julia, inspired by fastai

Primary LanguageJupyter NotebookMIT LicenseMIT

FastAI

Documentation

FastAI.jl is inspired by fastai, and is a repository of best practices for deep learning in Julia. Its goal is to easily enable creating state-of-the-art models. FastAI enables the design, training, and delivery of deep learning models that compete with the best in class, using few lines of code.

As an example, training an image classification model from scratch is as simple as

using FastAI
path = datasetpath("imagenette2-160")
data = Datasets.loadfolderdata(
    path,
    filterfn=isimagefile,
    loadfn=(loadfile, parentname))
classes = unique(eachobs(data[2]))
method = BlockMethod(
    (Image{2}(), Label(classes)),
    (
        ProjectiveTransforms((128, 128), augmentations=augs_projection()),
        ImagePreprocessing(),
        OneHot()
    )
)
learner = methodlearner(method, data)
fitonecycle!(learner, 10)

Please read the documentation for more information and see the setup instructions.