Giter VIP home page Giter VIP logo

holodoodler's Introduction

Doodler

This repository hosts Doodler, a Python application that allows interactive construction of sparse labeling for image segmentation using deep neural networks.

Project background

Deep neural networks have proven to be powerful tools for automatic classification of images (e.g. identifying regions of sand, water and vegetation from drone-collected beach images). These techniques are used extensively by USGS researchers to understand how beach and coastal environments are impacted by storms and other events. The first step in using this technique is sparsely annotating a collection of images by hand to train the models.

The USGS currently has an open source package - dash-doodler - that performs the task, but does not run in multi-user JupyterHub environments. The USGS needs a version that is fully usable from Jupyter Notebooks so that researchers, interns and volunteers can effectively start working immediately in a JupyterHub environment.

The USGS seeks to achieve this goal by using the HoloViz/Panel ecosystem, which will integrate into their existing deployed JupyterHub environment.

Installation

Run the following command to create a conda environment named doodler-dev:

conda env create --file environment_dev.yaml

Development

The application currently lives in two places:

  • in the app.py script: the application can be served by Panel
  • in the the Jupyter notebook doodler_nb.ipynb: this notebook shows the development process of the app where (1) a series of small and well defined components are imported, (2) then they're put together in an Application class that links them when required, (3) a simple layout is built and displayed in the notebook for testing purposes, and (4) a more polished template app is built based on a Panel template and is made deployable.

The notebook can be opened with:

jupyter lab doodler_nb.ipynb

The application can be launched with:

panel serve app.py --show

Note that the application could also be launched with the following command:

panel serve doodler_nb.ipynb

Video (not up to date)

This video shows the notebook content, how to use the application and the state of the application when deployed.

Screenshare.-.2021-12-22.2_36_00.AM.mp4

holodoodler's People

Contributors

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