https://github.com/dnguyenngoc/ml-models-in-production
This repo gives an introduction to how to make full working example to serve your model using asynchronous Celery tasks and FastAPI. π₯ π₯ π₯ π₯
https://github.com/dnguyenngoc/ml-models-in-production
celery fastapi machine-learning python rabbit-mq react redis tensorflow
Last synced: 3 months ago
JSON representation
This repo gives an introduction to how to make full working example to serve your model using asynchronous Celery tasks and FastAPI. π₯ π₯ π₯ π₯
- Host: GitHub
- URL: https://github.com/dnguyenngoc/ml-models-in-production
- Owner: dnguyenngoc
- Created: 2022-03-12T06:43:51.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-21T04:35:18.000Z (about 2 years ago)
- Last Synced: 2025-04-14T22:01:59.649Z (about 1 year ago)
- Topics: celery, fastapi, machine-learning, python, rabbit-mq, react, redis, tensorflow
- Language: Python
- Homepage: https://viblo.asia/p/serving-ml-models-in-production-with-fastapi-and-celery-924lJROmlPM
- Size: 33 MB
- Stars: 30
- Watchers: 0
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ml Models in Production
[](https://www.python.org/doc/)
[](https://docs.celeryproject.org/en/stable/getting-started/introduction.html)
[](https://www.rabbitmq.com/)
[](https://redis.io/)
[](https://reactjs.org/)
[](https://fastapi.tiangolo.com/)
[](https://www.npmjs.com/package/package/v/1.0.1)
[](https://analyticsindiamag.com/tensorflow-2-7-0-released-all-major-updates-features/)
This repo gives an introduction to how to make full working example to serve your model using asynchronous Celery tasks and FastAPI. This post walks through a working example for serving a ML model using Celery and FastAPI. All code can be found in this repository. We wonβt specifically discuss the ML model used for this example however it was trained using coco dataset with 80 object class like cat, dog, bird ... more detail here [Coco Dataset](https://cocodataset.org/#home). The model have been train with tensorflow [Tensorflow](https://github.com/tensorflow/models)
## Contents
- [Screenshots & Gifs](#screenshots--gifs)
- [Demo](#demo)
- [1. Install docker, docker-compose](#1-install-docker-and-docker-compose)
- [2. Pull git repo](#2-pull-git-repo)
- [3. Start Server](#3-start-server)
- [Contact Us](#contact-us)
## Screenshots & Gifs
**View System**

## Demo
### 1. Install docker and docker-compose
`https://www.docker.com/`
### 2. Pull git repo
`git clone https://github.com/apot-group/ml-models-in-production.git`
### 3. Start Server
`cd ml-models-in-production && docker-compose up`
| Service | URL |
| :-------------------: | :------------------------------: |
| API docs | http://localhost/api/docs |
| Demo Web | http://localhost |
go to Demo web ```http://localhost``` and test with your picture.

## Contact Us
- Email-1: duynnguyenngoc@hotmail.com - Duy Nguyen :heart: :heart: :heart: