Code Monkey home page Code Monkey logo

rootnav-2.0's Introduction

RootNav 2.0

This is the RootNav 2.0 Code repository. This README and the repository code are being improved daily as we prepare for publication, please check back for new features and documentation soon!

24th August 2020 - Version 2.1

Version 2.1 makes substantial improvements to the training code for RootNav 2, making it easier to train the tool on new datasets. Features include:

  • Simplified folder structure, simply pass train and valid folders that contain images and RSML descriptions of the root systems.
  • Masks for training are now created by default when training begins, and cached for future runs. Only RSML is required.
  • Once training is complete, you can publish a model to be used within RootNav 2 using the training.py publish function.

Longer term features

  • Additional trained models. If you have datasets you'd like to see work with the tool and aren't covered by our examples, please get in touch and we can collaborate!
  • Improved model and training code. We will continuously review the model architectures and training code to explore ways to increase performance.

Installing RootNav 2.0

You will first need to download the code, either as a zip above, or by cloning the git repository (recommended):

git clone https://github.com/robail-yasrab/RootNav-2.0.git

Next, install the required dependencies. If you're using pip, then the following will work in Linux:

cd RootNav-2.0
pip install -r requirements.txt

Library support in other Operating Systems is more complex, and we recommend using Anaconda. You may find Anaconda is also simplest in Linux as well. First install anaconda, then create a new environment using the included yml dependencies file.

conda env create -f environment.yml
conda activate rootnav2

This will download and set up all the required libraries, providing you with a Python 3.6 installation. For those with access to Python 2.6 only, you will find a compatible version in the py2 branch.

Using the tool

The majority of users will want to run RootNav 2.0 on new images, in which case all the code you need is in the inference folder. You can find more instructions in the inference README.

Training new models

Training code may be found in the training folder. Instructions on training models are given in the training README. If you would like to collaborate on the development of new models for RootNav 2.0, please contact us.

Contact

Rootnav 2 is published in GigaScience. For enquiries please contact [email protected].

References

[1] Yasrab, R., Atkinson, J. A., Wells, D. M., French, A. P., Pridmore, T. P., & Pound, M. P. (2019), RootNav 2.0: Deep learning for automatic navigation of complex plant root architectures, GigaScience, 8(11), giz123.

rootnav-2.0's People

Contributors

mikepound avatar robail-yasrab 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.