{"id":24783304,"url":"https://github.com/amine-akrout/smoker_detection","last_synced_at":"2026-04-15T14:02:23.808Z","repository":{"id":37685613,"uuid":"216025662","full_name":"amine-akrout/Smoker_detection","owner":"amine-akrout","description":"Smoker Detection deep learning model served via a Web App using TensorFlow, tensorflow-serving, flask and Docker compose","archived":false,"fork":false,"pushed_at":"2023-05-23T01:30:55.000Z","size":21998,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T12:16:14.366Z","etag":null,"topics":["deep-learning","docker","docker-compose","flask","inceptionv3","keras","model-deployment","model-serving","tensorflow","tesnorflow-serving","transfer-learning"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amine-akrout.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-18T13:04:44.000Z","updated_at":"2022-07-10T13:00:37.000Z","dependencies_parsed_at":"2022-09-12T16:00:18.676Z","dependency_job_id":null,"html_url":"https://github.com/amine-akrout/Smoker_detection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amine-akrout%2FSmoker_detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amine-akrout%2FSmoker_detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amine-akrout%2FSmoker_detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amine-akrout%2FSmoker_detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amine-akrout","download_url":"https://codeload.github.com/amine-akrout/Smoker_detection/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245220715,"owners_count":20579830,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deep-learning","docker","docker-compose","flask","inceptionv3","keras","model-deployment","model-serving","tensorflow","tesnorflow-serving","transfer-learning"],"created_at":"2025-01-29T12:16:20.849Z","updated_at":"2026-04-15T14:02:18.761Z","avatar_url":"https://github.com/amine-akrout.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deploying CNN based Tensorflow model using Tensorflow Serving, Flask, Docker and Docker compose\n\nDeploying a Tensorflow InceptionV3 model with Flask for smoker detection in a contenairized environnement\n\n\n## Project Organization\n\n```\n│───app\n│   ├───app.py\n│   ├───Dockerfile \n│   ├───requirements.txt\n│   ├───static\n│   └───templates\n│\n├───data\n│   ├───models\n│   ├───non_smoker\n│   └───smoker\n├───data_tf\n│   └───smoker-v-non_smoker\n│       ├───testing\n│       │   ├───non_smoker\n│       │   └───smoker\n│       └───training\n│           ├───non_smoker\n│           └───smoker\n├───demo\n│       app_demo.gif\n│       demo_app.gif\n│       img.jpg\n│\n└───smoker_detection\n    │   saved_model.pb\n    │\n    ├───assets\n    └───variables\n            variables.data-00000-of-00001\n            variables.index\n```\n\n## Only 3 steps to run !\n\n### 1. Clone the repository\n`git clone https://github.com/amine-akrout/Smoker_detection.git `\n\n`cd Smoker_detection`\n\n### 2. Build and run the Docker Stack (TensorFlow serving and Web App)\n` docker-compose build .`\n\n` docker-compose up`\n\n### 3. Open the Web App and try it out !\nThe App should be running on ` http://localhost:5000`\n\n\n## What the app looks like\n\n![demo](https://github.com/amine-akrout/Smoker_detection/blob/master/demo/app_demo.gif)\n\n\n\n#### References:\n- [Convolutional Neural Networks in TensorFlow](https://www.example.com) \n\n- https://github.com/rexsimiloluwah/fastapi-tensorflow-serving-old\n\n- https://github.com/huyhoang17/tensorflow-serving-docker","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famine-akrout%2Fsmoker_detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famine-akrout%2Fsmoker_detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famine-akrout%2Fsmoker_detection/lists"}