GithubHelp home page GithubHelp logo

yassinebahajou / deepplantphenomics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from p2irc/deepplantphenomics

0.0 0.0 0.0 172.84 MB

Deep learning for plant phenotyping.

License: GNU General Public License v2.0

Makefile 0.03% Python 99.97%

deepplantphenomics's Introduction

Deep Plant Phenomics

Deep Plant Phenomics (DPP) is a platform for plant phenotyping using deep learning. Think of it as Keras for plant scientists.

DPP integrates Tensorflow for learning. This means that it is able to run on both CPUs and GPUs, and scale easily across devices.

Read the doumentation for tutorials, or see the included examples. You can also read the paper.

DPP is maintained at the Plant Phenotyping and Imaging Research Center (P2IRC) at the University of Saskatchewan. πŸŒΎπŸ‡¨πŸ‡¦

What's Deep Learning?

Principally, DPP provides deep learning functionality for plant phenotyping and related applications. Deep learning is a category of techniques which encompasses many different types of neural networks. Deep learning techniques lead the state of the art in many image-based tasks, including image classification, object detection and localization, image segmentation, and others.

What Can I Do With This?

This package provides two things:

1. Useful tools made possible using pre-trained neural networks

For example, calling tools.predict_rosette_leaf_count(my_files) will use a pre-trained convolutional neural network to estimate the number of leaves on each rosette plant.

2. An easy way to train your own models

For example, using a few lines of code you can easily use your data to train a convolutional neural network to rate plants for biotic stress. See the tutorial for how the leaf counting model was built.

Features

Example Usage

Train a simple regression model:

import deepplantphenomics as dpp

model = dpp.RegressionModel(debug=True)

# 3 channels for colour, 1 channel for greyscale
channels = 3

# Setup and hyperparameters
model.set_batch_size(64)
model.set_image_dimensions(256, 256, channels)
model.set_maximum_training_epochs(25)
model.set_test_split(0.2)
model.set_validation_split(0.0)

# Load dataset of images and ground-truth labels
model.load_multiple_labels_from_csv('./data/my_labels.csv')
model.load_images_with_ids_from_directory('./data')

# Use a predefined model
model.use_predefined_model('vgg-16')

# Train!
model.begin_training()

Installation

  1. git clone https://github.com/p2irc/deepplantphenomics.git
  2. pip install ./deepplantphenomics

Note: The package now requires Python 3.6 or greater. Python 2.7 is no longer supported.

Contributing

Contributions are always welcome. If you would like to make a contribution, please fork from the develop branch.

Help

If you are interested in research collaborations or want more information regarding this package, please email [email protected].

If you have a feature request or bug report, please open a new issue.

deepplantphenomics's People

Contributors

jubbens avatar donovanlavoie avatar nicohiggs avatar logan-ncc avatar jiansu-usask avatar jvanaret avatar travis-simmons avatar jboles31 avatar jordan12376 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.