Giter VIP home page Giter VIP logo

myia's Introduction

MYIA

this is a nocode platform for training, testing, evaluating, and building image classifier models

Table of Contents

Features

FOSSA Status

  • model training
  • model testing
  • model evaluation
  • file explorer
  • bulk image upload
  • screenshot script (go)
  • image crawler/scrapper (go)
  • graph generation
  • dark/light mode

Installation

  1. Clone the repository.

        git clone https://github.com/bethropolis/myia.git
    
  2. Install the dependencies by running the following command:

    pip install -r requirements.txt
  3. Setup project:

    python setup.py 
  4. create a virtual environment (optional):

    python -m venv myenv

    activate the virtual environment

    # windows
    myenv\Scripts\activate
    
    # linux / mac
    source myenv/bin/activate
  5. run the app:

     python app.py

    open your browser and go to http://localhost:5000


Usage

  1. Upload images to the app

    • upload images to the training directory
    • head to http://localhost:5000/directory?path=training/train and upload your images
  2. label the images

    • Open the train page (http://localhost:5000/train)

    • label the images either as good or bad by clicking the thumbs up or thumbs down button.

    • the app can only generate binary classification models so you can only label the images as good or bad

      • thumbs up for good which could represent classification A
      • thumbs down for bad which could represent classification B

    currently the app only supports two labels good and bad

  3. build the model

    • To build the model, head to the home page (http://localhost:5000/) and click the build model button

    • In the next page you will have to input: No of epochs - the number of times the model will be trained (default is 15) No of layers - the number of layers the model will have (default is 3) Model name - the name of the model (default is myia_image_classifier)

    • click the build model button to start building the model

    The model will be saved in the model/image_model directory as a keras model

    Note: The higher the number of epochs the longer it will take to build the model

  4. test the model - To test the model, open the test page (http://localhost:5000/test) and upload an image to test the model with or test with images in the test directory (http://localhost:5000/directory?path=training/test)

  5. evaluate the model

    • To evaluate the model, open the evaluate page (http://localhost:5000/evaluate) and upload an image to evaluate the model with or evaluate with images in the evaluate directory (http://localhost:5000/directory?path=model/evaluation)

    • The evaluation results will be saved in the model directory as a json file and a graph will be generated and saved in the static directory as a png file


Screenshots

Image Description
A screenshot of the Home page A screenshot of the Home page
A screenshot of the Training page A screenshot of the Training page
A screenshot of the Testing page A screenshot of the Testing page
A screenshot of the Evaluation page A screenshot of the Evaluation page
A screenshot of a directory A screenshot of a directory
A screenshot of a directory A screenshot of a directory
A screenshot of the page for building a model A screenshot of the page for building a model

packages used


Contributing

Feel free to ping me a pull requests if you want to contribute.

License

This project is licensed under the MIT License.

happy coding ๐Ÿ’œ

FOSSA Status

myia's People

Contributors

bethropolis avatar dependabot[bot] avatar fossabot avatar ruxartic avatar

Stargazers

 avatar  avatar

Watchers

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