GithubHelp home page GithubHelp logo

gabeochieng / machine-learning-web-based-nodejs-python-keras Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rambabugupta/machine-learning-web-based-nodejs-python-keras

0.0 1.0 0.0 3 KB

Python 55.29% HTML 6.98% JavaScript 36.49% Shell 1.24%

machine-learning-web-based-nodejs-python-keras's Introduction

Machine-Learning-Web-based-NodeJS-Python-Keras

--I have used node.js for web and python for predicting lable of digit image . --Node.js is used as its helps fot fast building of web and scalable for event based systems. --Shell scripts "Predict.sh". --Node.js scripts index.js would call shell scripts and send images location as parameters to it. --Shell scripts would run python scripts and get the results as predicted labels which is reaceived by index.js script.

--System have keras and tensorflow installed in it. There are two python code script. One for modeling and one of predicting. Modeling code copied from keras website.

--to run this code on your local machine, one should install keras and tensorflow so that prediction code could run. Also node installation is needed. and run "node index.js" but before that please change IP address to your local adress in "fileupload.html".

-- I have also hosted the web on ec2 instance on AWS and you might access http://ec2-35-158-239-83.eu-central-1.compute.amazonaws.com:8080/ (do not work now) output will come like this {"message":"Prediction Pass","filename":"3.png","result":"3"}

-- in bash_ml foldel there are index.js and predict.sh folder present and in folder python_scripts there is model.h5 which is weight values after training on mnist "mode_keras_DL_mnist.py".

machine-learning-web-based-nodejs-python-keras's People

Contributors

rambabugupta avatar

Watchers

James Cloos 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.