Skip to content

Latest commit

 

History

History
81 lines (39 loc) · 1.96 KB

README.md

File metadata and controls

81 lines (39 loc) · 1.96 KB

Deploy Cardiac Arrhythmia Model

A web app to predict whether a person has arrhythmia or not and which type using fastai library.


Demo:


Getting started

  • Fork and clone this repo on to your system

Customization

Put your model inside path/models folder

  • Place your trained .pth file under path/models/ directory.

Change the class and path name

  • Open "app.py" and search for a variable called classes and change that with your own classes

  • If your path name is different that "stage-2.pth", then change the learn.load("with_your_file_name.pth") in "app.py"

UI Change

Modify files in templates and static directory.

index.html for the UI and main.js for all the behaviors

Heroku Installation

  • Give your app name and click on create app

  • Go to the folder where you have cloned my repo and follow the steps given on the page

  • Once you are done, you will see the link to check your app on browser like this https://water-classifier1.herokuapp.com/

Note: If App is showing Application error then refresh the browser,It will work fine.

Future Roadmap

  • Add unit test.
  • Add CI/CD integration.
  • Create a robust image classifier using the more data or using some advance technique.
  • Adding celery and redis as a message brocker to handle the long task.