Skip to content

A sample Keras MobileNetV2 application instance pre-trained on ImageNet, built as a container image via Docker and gunicorn

Notifications You must be signed in to change notification settings

suvadityamuk/KerasDocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keras-Docker

A part of the blog - How to make models available to the Public

Docker Image build CI

Introduction

This repository contains code to create a simple Model using the Keras Functional API using the pre-trained MobileNetV2 image from keras.applications for inference on random images from the ImageNet classes. The Dockerfile present can be used to create an image and deploy the same as a Docker container for simpler use.

How to build using Docker

$ docker build . -t keras-docker-trial
$ docker run -d --publish 5000:5000 keras-docker-trial

The first line builds the Docker image using the Dockerfile
The second line uses the image to create a container according to the specifications and publish the port 5000 of the container to port 5000 of the local machine.

About

A sample Keras MobileNetV2 application instance pre-trained on ImageNet, built as a container image via Docker and gunicorn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages