Git Product home page Git Product logo

supervising-ui's Introduction

Supervising UI

This project has a web interface to label training data for machine learning task. As of now it can allow you to easily label images with one or many labels

Requires

  1. flask
  2. sqlite3

Install them using pip

Quick Start

Step1 : You need to feed training records

find $HOME -name '*.jpg' > workdir/input.txt

Step 2: Create a settings file that contains labels

Example :

{
  "type": "image-labeling",
  "task": {
	"labels":[
		"class1",
		"class2",
		"class3",
		"class4"
	 ]
  }
}

place this file in a directory with name 'settings.json' Example : workdir/settings.json

Step 3: Start server

Usage

python app.py -h

usage: app.py [-h] [-i INPUT] -w WORK_DIR [-p PORT]

Web UI for Labeling images

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        Path to to input file which has list of paths, one per
                        line. (Optional)
  -w WORK_DIR, --work-dir WORK_DIR
                        Work Directory. (Required)
  -p PORT, --port PORT  Bind port. (Optional

Example

python app.py -i workdir/input.txt -w workdir -p 8080

Visit http://localhost:8080 on web browser

Screenshots

Image

WARNING:

  • DO NOT MAKE THIS SERVICE ACCESSIBLE FROM PUBLIC INTERNET. Reason: it also acts as a proxy to serve image files to the web browser, it can be tricked by hackers to download other files from file system. So DO NOT OPEN it to public. If you are hosting it within your local network in which the service port is not exposed to internet, then it is fine.

supervising-ui's People

Contributors

thammegowda avatar darth-pr avatar wkiri avatar leifdenby 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.