Skip to content

An example of serving a PyTorch model with Flask in Docker

Notifications You must be signed in to change notification settings

elybecker/pt-flask-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pt-flask-docker

An example of serving a PyTorch model with Flask in Docker

Usage

Build the Docker Container

make build

Start & Connect to Docker Container

make connect

Start Flask server

python /app/server.py

Send request with an image to classify (outside container)

python send_request.py img/horse.jpeg

About

An example of serving a PyTorch model with Flask in Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published