Skip to main content

servefastai

Serve FastAI models and get a web-based UI to test them out with a single line of code. See a video demo here.

screenshot

Installation

Install with pip. Make sure you have fastai already installed.

pip install servefastai --upgrade

Usage

from servefastai import serve
serve(learn)

learn should be a FastAI learner object. Navigate to http://PUBLIC_IP:9999 , where PUBLIC_IP is the public IP address of the machine running the Jupyter notebook. You will see a form where you can upload one or more images. Upload the images and click submit to view the predictions.

Release files for servefastai 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for servefastai 0.1.4
File Size Uploaded
servefastai-0.1.4.tar.gz 651.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for servefastai 0.1.4
File Interpreter ABI Platform
servefastai-0.1.4-py2-none-any.whl Python 2 none any Details

Total release size: 1.3 MB

Release files / servefastai-0.1.4.tar.gz

Download URL servefastai-0.1.4.tar.gz
Size 651.5 kB
Tags Source
SHA-256 checksum
How to use checksums
855290f69296384ecfc207ba876db67094d5d1eb7307a48666139f73a7aa380e
BLAKE2b-256 checksum
How to use checksums
6832fd2545c99576bac47767c9141cd8369d6648842f50ab516f2f802334c237
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

Release files / servefastai-0.1.4-py2-none-any.whl

Download URL servefastai-0.1.4-py2-none-any.whl
Size 666.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
a7c8956e35cc2ad78f5f8a72bb7e66d5d8fcf0902277d743e5aa70322efaef3a
BLAKE2b-256 checksum
How to use checksums
dcb499da903bb555216c723fbc67d0457dc6653421e7541d135b8beb28a91c16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page