Skip to main content

AI and other plugins for phenopype

Project description

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

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.2.0.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phenopype_plugins-0.2.0-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file phenopype_plugins-0.2.0.tar.gz.

File metadata

  • Download URL: phenopype_plugins-0.2.0.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.9

File hashes

Hashes for phenopype_plugins-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d2a2f1d154761e9da3ccbbbf3ba287566e6fc7f5fb83d3f4b4fe8bbab122b99a
MD5 0bc34e469d5bef04832bcaa8c782cf06
BLAKE2b-256 975a0fff7f10952bf1624bc7e555a137336f46a0f06dd0fda3471b95d14b43ab

See more details on using hashes here.

File details

Details for the file phenopype_plugins-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for phenopype_plugins-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d2e6efd0be6318d5087305ae0c716b88c64c0024506b6108b2486a2c7fe1c8fb
MD5 22425f66d55f4d112fd1aba7ce1b4578
BLAKE2b-256 3d3fa811dfd1e3b00fd9828dd1d2e761388fdf4cec10940a7a24b5a94ed5dc2d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page