Giter Site home page Giter Site logo

dnguyenngoc / ml-models-in-production Goto Github PK

View Code? Open in Web Editor NEW
24.0 0.0 10.0 33.77 MB

This repo gives an introduction to how to make full working example to serve your model using asynchronous Celery tasks and FastAPI. πŸ”₯ πŸ”₯ πŸ”₯ πŸ”₯

Home Page: https://viblo.asia/p/serving-ml-models-in-production-with-fastapi-and-celery-924lJROmlPM

Dockerfile 0.86% Python 66.20% HTML 0.72% JavaScript 28.23% CSS 0.18% SCSS 3.65% Shell 0.15%
tensorflow python react celery redis fastapi machine-learning rabbit-mq

ml-models-in-production's Introduction

Ml Models in Production

python Celery rabbitmq redis react fastapi NPM Tensorflow

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. The model have been train with tensorflow Tensorflow

Contents

Screenshots & Gifs

View System

Architecture

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.

Test

Contact Us

ml-models-in-production's People

Contributors

dnguyenngoc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.