fastai simplifies training fast and accurate neural nets using modern best practices
Actively maintained. Last release 3 months ago, commits in 9 of the last 26 weeks. A safe choice.
pip install fastaiWelcome to fastai
Installing
You can use fastai without any installation by using Google Colab. In fact, every page of this documentation is also available as an interactive notebook - click “Open in colab” at the top of any page to open it (be sure to change the Colab runtime to “GPU” to have it run fast!) See the fast.ai documentation on Using Colab for more information.
You can install fastai on your own machines with: pip install fastai.
To ensure that you have the best available version of PyTorch on your machine, recommend installing that first.
If you plan to develop fastai yourself, or want to be on the cutting edge, you can use an editable install (if you do this, you should also use an editable install of fastcore to go with it.) First install PyTorch, and then:
git clone https://github.com/fastai/fastai
pip install -e "fastai[dev]"
Learning fastai
The best way to get started with fastai (and deep learning) is to read the book, and complete the free course.
To see what’s possible with fastai, take a look at the Quick Start, which shows how to use around 5 lines of code to build an image classifier, an image segmentation model, a text sentiment model, a recommendation system, and a tabular model. For each of the applications, the code is much the same.
Read through the Tutorials to learn how to train your own models on your own datasets. Use the navigation sidebar to look through the fastai documentation. Every class, function, and method is documented here.


