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

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 video demonstrating how to train and use a model is also available to download

Client Downloads

See releases

If you are not confident with the linux administration 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 linux running 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.19.1.tar.gz (20.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: root_painter_trainer-0.2.19.1.tar.gz
  • Upload date:
  • Size: 20.0 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.19.1.tar.gz
Algorithm Hash digest
SHA256 3b53c0f4c3cb1891e6c4655e510bba1ef15f6ffbcc2df591107f270763d0ef4e
MD5 534039a252b9a12081bb42c8b7e652ab
BLAKE2b-256 b9f16faf707ab50fca96f8a1b83908473e7f373f81b19d2bd1664f6a1c7dc0a2

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