Coder Social home page Coder Social logo

mezanass / seg_app Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 13.39 MB

full pipeline for image segmentation (dataset preprocessing, model training and model deployment) with keras and tensorflow

License: MIT License

JavaScript 0.07% Shell 0.02% HTML 0.18% Dockerfile 0.03% Python 0.15% Jupyter Notebook 99.55%

seg_app's Introduction

seg_app

The goal of this project is to train and deploy an image segmentation model, the model is an encoder-decoder that was trained on a dataset of 80 images of the ISEM 2019 class, the images were first segmented manually using VGG Image Annotator tool that produces a csv file that contains the coordinates of the various segmentation polygons, using this file a mask was created for every image, since the dataset is kinda small, during the training a data pipeline was setup to apply various transformations to the training images and masks in order to help the model generalize better. a dockerized web app was created to explore various deployment options (tensorflowjs, flask web service, ...).

Screenshot

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

The main dependencies you need to install

pip install tensorflow
pip install keras
pip install Flask
pip install pymongo

Deployment

Clone the repo

git clone https://github.com/mezanass/seg_app.git
cd seg_app/deployment/flask/

run without Docker

# uncomment lines 18 and 29 from seg_app/deployment/flask/seg_app.py and comment lines 19 and 30
# install nomgodb or comment line 45 from seg_app.py
./setup.sh

run with Docker

./dockerize.sh

Built With

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Huge thanks to the author of this notebook that was a great help

seg_app's People

Contributors

mezanass avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.