Hacker News new | ask | show | jobs
by koolk3ychain 1990 days ago
Anyone have recommendations for examples of deploying a basic ML image classifier as a restful api? or examples of a multi-attribute image classifier?
1 comments

It's not really that different from deploying any other sort of RESTful API.

If you want a framework you could use Seldon but could probably just as easily write your own with Flask/fastapi.

Wow, FastAPI looks like a very cool framework. I guess I was moreso curious in how one would take a model that works in a Jupyter notebook and restructure it to be callable / have a self re-training data pool of images that were submitted. (obv this feature would pose some legal risk)
Convert the notebook into a python script and use that with FastAPI