I know how to make Web-Apps in NodeJS and know I want to deploy my models as web applications. Can you suggest me some tutorials that I can follow to deploy a simple ML model as a web application using NodeJs.
How to deploy a ML Model (Keras / Sci-kit) using NodeJS?
Hey sahil,
I would suggest you to do this flask or django.
- Make a module (.py file ) that can create a caption given an image, first do it with command line.
- Make one front-end and receive the input image.
- Now Perform the same operation that you did in first step here by calling the generate_caption function in the module.
- return that caption to the frontend…
This way you can easily deploy on web.
If you want to use Nodejs.
One thing to remember, You won’t be able to call python module from javascript. It would be difficuilt. So, to do this task.
Again you have to write a micro-service that would return json data provided the image in flask or django and host in a server. And call that service from node application. This way you have to create 2 server one for hosting your microservice, and one for your node application…
Eventually you have to write python code. I would suggest to go just with flask/django
This would help you : https://github.com/mohit2016/Dormant-Color-for-Image-Segmentation
Thanks
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.