Giter Club home page Giter Club logo

scalabel's Introduction


Build Status Language grade: JavaScript Language grade: Python

Scalabel (pronounced "scalable") is a versatile and scalable tool that supports various kinds of annotations needed for training computer vision models, especially for driving environment. BDD100K is labeled with this tool.

scalabel interface

Demos

Try It Yourself

More installation and usage details can be find in our documentation. It also includes Windows setup.

  1. Check out the code

    git clone [email protected]:ucbdrive/scalabel.git
    cd scalabel
    
  2. Compile the code

    There are two alternative ways to get the compiled code

    1. Usage docker

      Download from dockerhub

      docker pull scalabel/www
      

      or build the docker image yourself

      docker build . -t scalabel/www
      
    2. Compile the code yourself

      Install golang, nodejs and npm.

      Compile Go server code

      go get github.com/aws/aws-sdk-go github.com/mitchellh/mapstructure \ 
          gopkg.in/yaml.v2 github.com/satori/go.uuid
      go build -i -o ./bin/scalabel ./server/http
      

      Transpile Javascript code

      npm install
      node_modules/.bin/npx webpack --config webpack.config.js --mode=production
      
  3. Prepare data directory

    mkdir data
    cp app/config/default_config.yml data/config.yml
    
  4. Launch the server

    If using docker,

    docker run -it -v `pwd`/data:/opt/scalabel/data -p 8686:8686 scalabel/www \
        /opt/scalabel/bin/scalabel --config /opt/scalabel/data/config.yml
    

    Otherwise

    ./bin/scalabel --config ./data/config.yml
    

    Then, the server can be accessed at http://localhost:8686.

  5. Get labels

    The collected labels can be directly downloaded from the project dashboard. The data can be follow bdd data format. After installing the requirements and setting up the paths of the bdd data toolkit, you can visualize the labels by

    python3 -m bdd_data.show_labels.py -l <your_downloaded_label_path.json>
    

More Usage Info

Please go to documentation for detailed annotation instructions and advanced usages.

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.