Coder Social home page Coder Social logo

oocam-ml-interface's Introduction

Repository for the OOCAM ML Interface

For using the current interface, please follow these steps -

  1. Clone the repo to a suitable location:
    git clone https://github.com/shark-trek/OOCAM-ml-interface.git
  2. Install dependencies :
    (i) Navigate to the directory where the repo has been cloned
    (ii) Double click the installer.bat file
  3. Open Web Interface:
    (i) Open the 'flaskInterface.py' file
    (ii) Open the 'run.html' file
  4. To train model:
    (i) In the first text field (File:), select the folder where all the images for training are located with the file selector.
    File name format: <class_name><image_number>.<jpg|png|jpeg>, eg: DotManta34.jpg
    (ii) In the second text field (Split:), enter the split value : a float value between 0 and 1
    0.8 would mean 80% of the images are for train, 20% for test
    (iii) In the third text field (Epoch:), enter number of epochs: no. of complete presentations of dataset to be learned by machine
    (iv) Click Train and give it a little time to process
    The model (model.h5) and the labels file (labels.dat) will be generated and placed into the 'output' folder
    The maximum validation accuracy achieved shall be shown on a new webpage
  5. To predict an image:
    (i) In the first text field (Model:), enter the location of the model.h5 file
    (ii) In the second text field (Images:), enter the location of the folder containing the image files that needs to be predicted
    (iii) In the third text field (Labels:), enter the location of the labels.dat file
    (iv) The images would be sorted and stored in the 'predictions' folder in the main directory of the repo

oocam-ml-interface's People

Contributors

aggdhruv avatar dependabot[bot] avatar eehitray avatar sdhnt avatar utkarsh867 avatar

Watchers

 avatar

Forkers

yohanesgultom

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.