Skip to main content

phenopype-plugins

AI-plugins for phenopype - still under early development.

FastSAM vs SAM

Currently, plugins for three libraries are available:

ultralytics

pytorch

keras

Installation

Prior to using the functions with phenopype you need to install the respective dependencies:

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:

mamba 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 --force-reinstall

Release files for phenopype-plugins 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for phenopype-plugins 0.2.0
File Size Uploaded
phenopype_plugins-0.2.0.tar.gz 22.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for phenopype-plugins 0.2.0
File Interpreter ABI Platform
phenopype_plugins-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 45.5 kB

Release files / phenopype_plugins-0.2.0.tar.gz

Download URL phenopype_plugins-0.2.0.tar.gz
Size 22.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d2a2f1d154761e9da3ccbbbf3ba287566e6fc7f5fb83d3f4b4fe8bbab122b99a
BLAKE2b-256 checksum
How to use checksums
975a0fff7f10952bf1624bc7e555a137336f46a0f06dd0fda3471b95d14b43ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.9

Release files / phenopype_plugins-0.2.0-py3-none-any.whl

Download URL phenopype_plugins-0.2.0-py3-none-any.whl
Size 22.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2e6efd0be6318d5087305ae0c716b88c64c0024506b6108b2486a2c7fe1c8fb
BLAKE2b-256 checksum
How to use checksums
3d3fa811dfd1e3b00fd9828dd1d2e761388fdf4cec10940a7a24b5a94ed5dc2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page