Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amine-akrout/smoker_detection
Smoker Detection deep learning model served via a Web App using TensorFlow, tensorflow-serving, flask and Docker compose
https://github.com/amine-akrout/smoker_detection
deep-learning docker docker-compose flask inceptionv3 keras model-deployment model-serving tensorflow tesnorflow-serving transfer-learning
Last synced: 1 day ago
JSON representation
Smoker Detection deep learning model served via a Web App using TensorFlow, tensorflow-serving, flask and Docker compose
- Host: GitHub
- URL: https://github.com/amine-akrout/smoker_detection
- Owner: amine-akrout
- Created: 2019-10-18T13:04:44.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T12:21:59.000Z (almost 2 years ago)
- Last Synced: 2023-05-01T13:42:15.402Z (almost 2 years ago)
- Topics: deep-learning, docker, docker-compose, flask, inceptionv3, keras, model-deployment, model-serving, tensorflow, tesnorflow-serving, transfer-learning
- Language: Jupyter Notebook
- Homepage:
- Size: 21 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Deploying CNN based Tensorflow model using Tensorflow Serving, Flask, Docker and Docker compose
Deploying a Tensorflow InceptionV3 model with Flask for smoker detection in a contenairized environnement
## Project Organization
```
│───app
│ ├───app.py
│ ├───Dockerfile
│ ├───requirements.txt
│ ├───static
│ └───templates
│
├───data
│ ├───models
│ ├───non_smoker
│ └───smoker
├───data_tf
│ └───smoker-v-non_smoker
│ ├───testing
│ │ ├───non_smoker
│ │ └───smoker
│ └───training
│ ├───non_smoker
│ └───smoker
├───demo
│ app_demo.gif
│ demo_app.gif
│ img.jpg
│
└───smoker_detection
│ saved_model.pb
│
├───assets
└───variables
variables.data-00000-of-00001
variables.index
```## Only 3 steps to run !
### 1. Clone the repository
`git clone https://github.com/amine-akrout/Smoker_detection.git ``cd Smoker_detection`
### 2. Build and run the Docker Stack (TensorFlow serving and Web App)
` docker-compose build .`` docker-compose up`
### 3. Open the Web App and try it out !
The App should be running on ` http://localhost:5000`## What the app looks like
![demo](https://github.com/amine-akrout/Smoker_detection/blob/master/demo/app_demo.gif)
#### References:
- [Convolutional Neural Networks in TensorFlow](https://www.example.com)- https://github.com/rexsimiloluwah/fastapi-tensorflow-serving-old
- https://github.com/huyhoang17/tensorflow-serving-docker