Skip to content

marcin-laskowski/ml-flask-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

syndicai-banner

The repository for the artcile Deploy ML model using Flask, 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 flask 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, flask==1.1.2, 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.

Releases

No releases published

Packages

No packages published