Giter Club home page Giter Club logo

datascience-webinar-inceptez-28-06-2020's Introduction

Covid Prediction using Xray Image

A pretty and customizable web app to deploy your DL model with ease


Getting started in 10 minutes

๐Ÿ‘‡Screenshot:


Local Installation

Clone the repo

$ git clone https://github.com/nursnaaz/DataScience-Webinar-Inceptez-28-06-2020.git

Install requirements

$ pip install -r requirements.txt

Make sure you have the following installed:

  • Flask
  • h5py
  • Keras
  • Keras-Applications
  • Keras-Preprocessing
  • numpy
  • scikit-learn
  • scipy
  • tensorflow
  • opencv-python

Run with Python

Python 3.7+ are supported and tested.

$ python app.py

Play

Open http://localhost:5000 and have fun. ๐Ÿ˜ƒ


Customization

Use your own model

Place your trained .h5 file saved by model.save() under models directory.

Deployment

To deploy it for public use, you need to have a public linux server - Ubuntu.

Run the app

Run the script and hide it in background with tmux or screen.

$ python app.py

You can also use gunicorn instead of gevent

$ gunicorn --workers=50 --threads=20 --bind 0.0.0.0:8000 app:app

More deployment options, check here

More resources

Check Siraj's "How to Deploy a Keras Model to Production" video. The corresponding repo.

Building a simple Keras + deep learning REST API

DataScience-Webinar-Inceptez-28-06-2020

datascience-webinar-inceptez-28-06-2020's People

Contributors

nursnaaz 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.