Skip to content

Instantly share code, notes, and snippets.

View amanpreets01's full-sized avatar

Amanpreet amanpreets01

  • Mumbai ,Maharashtra
View GitHub Profile
@zcaceres
zcaceres / node-python-fastai.md
Last active May 16, 2023 07:20
Starter code to use NodeJS with a Python layer for the model.

Deploying a Deep Learning Image Classification Model with NodeJS, Python, and Fastai

TL|DR: Use this to easily deploy a FastAI Python model using NodeJS.

You've processed your data and trained your model and now it's time to move it to the cloud.

If you've used a Python-based framework like fastai to build your model, there are several excellent solutions for deployment like Django or Starlette. But many web devs prefer to work in NodeJS, especially if your model is only part of a broader application.

My friend Navjot pointed out that NodeJS and Python could run together if we could send remote procedure calls from NodeJS to Python.