Giter VIP home page Giter VIP logo

ml-fastapi-docker's Introduction

syndicai-banner

The repository for the artcile Deploy ML model using FastAPI, Docker, and Cloud Run where you will learn a step-by-step tutorial on how to deploy a PyTorch implementation of the AlexNet Image classifier.

Repo

.
├── app.py                      > main fastapi app
├── docker-compose.yaml
├── Dockerfile
├── README.md
├── requirements.txt            > dependencies
├── sample_data
│   ├── input.jpg               > sample input image
│   └── sample_input.json       > JSON with sample input url
└── syndicai.py                 > file needed to deploy via Syndicai Platform

Prerequisites

  • Basic understanding of Python, Docker, REST
  • Access to Google Cloud Platform (if you want to host a model)
  • Trained model from the repository.
  • Installed docker, docker-compose, gcloud, python 3.6
  • Installed all python dependencies listed below. torch==1.7.1, torchvision==0.8.2, fastapi==0.63.0, uvicorn==0.13.3, requests==2.18.4

Contribute

If you found that material helpful, or have some questions, please let us know via mail or slack.


built with passion by Syndicai.

ml-fastapi-docker's People

Contributors

marcin-laskowski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ml-fastapi-docker's Issues

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.