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.
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.
- To install the RootPainter trainer:
pip install root-painter-trainer
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file root_painter_trainer-0.2.24.0.tar.gz
.
File metadata
- Download URL: root_painter_trainer-0.2.24.0.tar.gz
- Upload date:
- Size: 20.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e3e1ecc4beb20a36523230556d3eab99c4aae9a0162d525be858f245b86aefb |
|
MD5 | 90e3f3c862f3bae8601387a6feaa44cc |
|
BLAKE2b-256 | 9991e242ed9e79d0357b50f37c9c6847a944724eaf35245bf65896cbe4945fcb |