Skip to main content

Trainer (server component) for RootPainter

Project description

RootPainter

Described in the paper "RootPainter: Deep Learning Segmentation of Biological Images with Corrective Annotation"

Published peer-reviewed paper available in the New Phytologist at: https://doi.org/10.1111/nph.18387

To see a list of work using (or citing) the RootPainter paper, please see the google scholar page

BioRxiv Pre-print available at: https://www.biorxiv.org/content/10.1101/2020.04.16.044461v2

RootPainter is a GUI-based software tool for the rapid training of deep neural networks for use in biological image analysis. RootPainter uses a client-server architecture, allowing users with a typical laptop to utilise a GPU on a more computationally powerful server.

Getting started quickly

I suggest the colab tutorial.

A shorter mini guide is available including more concise instruction, that could be used as reference. I suggest the paper, videos and then colab tutorial to get an idea of how the software interface could be used and then this mini guide for reference to help remember each of the key steps to get from raw data to final measurements.

Videos

A video demonstrating how to train and use a model is available to download

There is a youtube video of a workshop explaining the background behind the software and covering using the colab notebook to train and use a root segmentation model.

Client Downloads

See releases

If you are not confident installing and running python applications on the command line then to get started quickly I suggest the colab tutorial.

Server setup

The following instructions are for a local server. If you do not have a suitable NVIDIA GPU with at least 8GB of GPU memory then my current recommendation is to run via Google colab. A publicly available notebook is available at Google Drive with Google Colab.

Other options to run the server component of RootPainter on a remote machine include the the sshfs server setup tutorial. You can also use Dropbox instead of sshfs.

For the next steps I assume you have a suitable GPU and CUDA installed.

  1. To install the RootPainter trainer:
pip install root-painter-trainer
  1. To run the trainer. This will first create the sync directory.
start-trainer

You will be prompted to input a location for the sync directory. This is the folder where files are shared between the client and server. I will use ~/root_painter_sync. RootPainter will then create some folders inside ~/root_painter_sync. The server should print the automatically selected batch size, which should be greater than 0. It will then start watching for instructions from the client.

You should now be able to see the folders created by RootPainter (datasets, instructions and projects) inside ~/Desktop/root_painter_sync on your local machine See lung tutorial for an example of how to use RootPainter to train a model.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

root_painter_trainer-0.2.25.2.tar.gz (21.3 kB view details)

Uploaded Source

File details

Details for the file root_painter_trainer-0.2.25.2.tar.gz.

File metadata

  • Download URL: root_painter_trainer-0.2.25.2.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.5

File hashes

Hashes for root_painter_trainer-0.2.25.2.tar.gz
Algorithm Hash digest
SHA256 8f3e96f946bcc288cb66f373148b30ee509b125d245be42a0aff348e1a45c235
MD5 ecae06e338b02090450fb8fa54a35b99
BLAKE2b-256 513233360f25dd65fc5927004f65be3e2bcecaa513b371162c0d50a185fae3db

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page