Skip to main content

Plugins for phenopype

Project description

phenopype-plugins

AI-plugins for phenopype - currently under development.

Currently, three plugin functions are available - all of them do image segmentation using pre-trained models:

Installation

1. Install phenopype (see https://www.phenopype.org/docs/installation/phenopype/ for more details):

pip install phenopype

2. Install the plugins module:

pip install phenopype-plugins

3. Install the dependencies

Dependencies

If you have a GPU and the appropriate drivers install, make sure you install a fitting CUDA version first - e.g., v12.1:

pip install -c nvidia cuda-toolkit==12.1

torch

1. With GPU support:

pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121

2. Without GPU support:

pip install torch torchvision

keras

1. With GPU support:

pip install keras-gpu
  1. Without GPU support:

    pip install keras-gpu

ultralytics

1. Install Ultralytics BEFORE phenopype due to conflicting opencv-python (ultralytics) and opencv-contrib-python (phenopype) versions (see step 2 for alternatives):

pip install torch torchvision ## needed
pip install ultralytics

2. If you have already installed phenopype and can't or don't want to uninstall it, you can do the following:

pip install ultralytics

## force reinstall opencv-contrib-python
pip install opencv-contrib-python==4.5.2.54 --force-reinstall

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

phenopype_plugins-0.1.3.tar.gz (12.3 kB view hashes)

Uploaded Source

Built Distribution

phenopype_plugins-0.1.3-py3-none-any.whl (13.0 kB view hashes)

Uploaded Python 3

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