Deep Plant Phenomics
A platform for plant phenotyping using deep learning.
https://github.com/p2irc/deepplantphenomics
Category: Biosphere
Sub Category: Plants and Vegetation
Last synced: about 6 hours ago
JSON representation
Repository metadata
Deep learning for plant phenotyping.
- Host: GitHub
- URL: https://github.com/p2irc/deepplantphenomics
- Owner: p2irc
- License: gpl-2.0
- Created: 2017-04-18T18:18:08.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-03-05T15:43:16.000Z (about 4 years ago)
- Last Synced: 2025-04-17T23:54:22.696Z (10 days ago)
- Language: Python
- Size: 169 MB
- Stars: 138
- Watchers: 12
- Forks: 46
- Open Issues: 0
- Releases: 0
-
Metadata Files:
- Readme: README.md
README.md
DEPRECATED
Deep Plant Phenomics is no longer actively maintained. It is available here for historical purposes - however, it is provided as-is with no updates or bug fixes planned.
See this thread for discussion.
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
- Several trained networks for common plant phenotyping tasks.
- Easy ways to load data.
- Loaders for some popular plant phenotyping datasets.
- Plenty of different loaders for your own data, however it exists.
- Support for semantic segmentation.
- Support for object detection.
- Support for object counting via density estimation, including Countception networks.
- Support for classification and regression tasks.
- Tensorboard integration for visualization.
- Easy-to-use API for building new models.
- Pre-defined neural network architectures so you don't have to make your own.
- Several data augmentation options.
- Many ready-to-use neural network layers.
- Easy to deploy your own models as a Python function!
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
git clone https://github.com/p2irc/deepplantphenomics.git
pip install ./deepplantphenomics
Note: The package now requires Python 3.6 or greater. Python 2.7 is no longer supported.
Owner metadata
- Name: p2irc
- Login: p2irc
- Email:
- Kind: organization
- Description: p2irc
- Website: p2irc.usask.ca
- Location: University of Saskatchewan
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/27709041?v=4
- Repositories: 8
- Last ynced at: 2023-03-06T23:18:33.408Z
- Profile URL: https://github.com/p2irc
GitHub Events
Total
- Watch event: 5
Last Year
- Watch event: 5
Committers metadata
Last synced: 8 days ago
Total Commits: 519
Total Committers: 15
Avg Commits per committer: 34.6
Development Distribution Score (DDS): 0.607
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
Name | Commits | |
---|---|---|
Jordan Ubbens | j****s@g****m | 204 |
Donovan Lavoie | d****9@m****a | 198 |
nhiggs | n****s@g****m | 40 |
Jian Su | j****0@d****a | 25 |
Jordan Ubbens (jou991) | j****s@u****a | 15 |
Logan | l****n@n****a | 11 |
Jian Su | j****0@u****a | 10 |
tlg609 | t****9@m****a | 4 |
Jordan Ubbens | j****n@u****a | 3 |
Nico Higgs (nrh328) | n****s@u****a | 3 |
Travis Simmons | 6****s | 2 |
Jordan Ubbens | j****n@u****a | 1 |
Jordan Ubbens | j****n@u****a | 1 |
JVanaret | 3****t | 1 |
jordan | j****n@g****m | 1 |
Committer domains:
- usask.ca: 3
- mail.usask.ca: 2
- uofs-10-227-154-203.usask.ca: 1
- uofs-10-227-148-232.usask.ca: 1
- uofs-10-227-128-34.usask.ca: 1
- ncconsulting.ca: 1
- discus-desk09.usask.ca: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 12
Total pull requests: 41
Average time to close issues: about 2 months
Average time to close pull requests: 1 day
Total issue authors: 10
Total pull request authors: 8
Average comments per issue: 3.33
Average comments per pull request: 0.56
Merged pull request: 40
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- 3nryk (2)
- DryFrost (2)
- Mahi-Mai (1)
- tbayetird (1)
- bursalihilal (1)
- stardust66 (1)
- gs55 (1)
- mheriyanto (1)
- DanielCWard (1)
- jubbens (1)
Top Pull Request Authors
- donovanlavoie (23)
- jubbens (7)
- nicohiggs (4)
- Travis-Simmons (2)
- JianSu-Usask (2)
- JVanaret (1)
- Graytr (1)
- logankopas (1)
Top Issue Labels
Top Pull Request Labels
Score: 7.635303886259415