bguan bears

A dockerized Starlette ASGI server that classify bears. (Following FastAI Course1 v3 lesson 2)

2
0
Python

Starlette API Server to Classify Bears

A dockerized Starlette ASGI server that can classify an image as Black, Grizzly or Teddy bear.

Just following the excellent and fun Lesson 2 of FastAI Course1 v3 on exposing a trained image classifier model behind a public API. Also the design and code is shamelessly copied from Simon Willison’s Courgar-or-Not.

A running server is currently deployed to Render.com using FastAI student’s credit as of Sep 20th 2019, but no guarantee it will still be running by the time you read this.

How to Run and Test

Note:

  • To protect server, image upload or submit by URL is limited to 5MB