Skip to main content

Python package that simplifies using the BioCLIP foundation model.

Project description

pybioclip

DOI

PyPI - Version PyPI - Python Version


Command line tool and python package to simplify using BioCLIP (current and earlier versions), including for taxonomic or other label prediction on (and thus annotation or labeling of) images, as well as for generating semantic embeddings for images. No particular understanding of ML or computer vision is required to use it. It also implements a number of performance optimizations for batches of images or custom class lists, which should be particularly useful for integration into computational workflows.

Documentation

See the pybioclip documentation website for requirements, installation instructions, and tutorials.

License

pybioclip is distributed under the terms of the MIT license.

Citation

To cite this repository, please use the citation provided by Cite this repository in the sidebar, which uses the information in the CITATON.cff file. If you need a citation with a version-specific DOI, you can obtain this by following the Zenodo DOI badge at the top of this file.

Unless you selected (via --model) a model different from the default (which is now BioCLIP 2), please also cite the BioCLIP 2 paper:

@inproceedings{gu2025bioclip,
  title={Bio{CLIP} 2: Emergent Properties from Scaling Hierarchical Contrastive Learning},
  author={Jianyang Gu and Samuel Stevens and Elizabeth G Campolongo and Matthew J Thompson and Net Zhang and Jiaman Wu and Andrei Kopanev and Zheda Mai and Alexander E. White and James Balhoff and Wasila Dahdul and Daniel Rubenstein and Hilmar Lapp and Tanya Berger-Wolf and Wei-Lun Chao and Yu Su},
  booktitle={The Thirty-ninth Annual Conference on Neural Information Processing Systems},
  year={2025},
  url={https://openreview.net/forum?id=yPC9zmkQgG}
}

If you selected the original BioCLIP model (using --model), please cite the original BioCLIP paper:

@inproceedings{stevens2024bioclip,
  title = {{B}io{CLIP}: A Vision Foundation Model for the Tree of Life}, 
  author = {Samuel Stevens and Jiaman Wu and Matthew J Thompson and Elizabeth G Campolongo and Chan Hee Song and David Edward Carlyn and Li Dong and Wasila M Dahdul and Charles Stewart and Tanya Berger-Wolf and Wei-Lun Chao and Yu Su},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  year = {2024}
}

Also consider citing the BioCLIP code:

@software{bioclip2023code,
  author = {Samuel Stevens and Jiaman Wu and Matthew J. Thompson and Elizabeth G. Campolongo and Chan Hee Song and David Edward Carlyn},
  doi = {10.5281/zenodo.10895871},
  title = {BioCLIP},
  version = {v1.0.0},
  year = {2024}
}

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

pybioclip-2.1.4.tar.gz (2.8 MB view details)

Uploaded Source

Built Distribution

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

pybioclip-2.1.4-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file pybioclip-2.1.4.tar.gz.

File metadata

  • Download URL: pybioclip-2.1.4.tar.gz
  • Upload date:
  • Size: 2.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pybioclip-2.1.4.tar.gz
Algorithm Hash digest
SHA256 83b133fa59fcc6539001f0b04efc416d4e64de19c5dbb86e5c9201eded81b930
MD5 e8fa94d88ead43e1767c6810f191c6cc
BLAKE2b-256 c73a613a2f995bd2a4d236f32e5748bf5e9779d0160acc2a05ccf38c2a49ebe6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybioclip-2.1.4.tar.gz:

Publisher: publish-to-pypi.yml on Imageomics/pybioclip

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pybioclip-2.1.4-py3-none-any.whl.

File metadata

  • Download URL: pybioclip-2.1.4-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pybioclip-2.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4c1d214222f50305d415ba4ae4be11bec9876617b81bb267e3a6fa881721dabf
MD5 6b643ff3bab6513fb41cf20e3a10023e
BLAKE2b-256 be5e8cc1c13af5d24da6146e494dedd9f3f3d4932c350521917e3c3e30ba3112

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybioclip-2.1.4-py3-none-any.whl:

Publisher: publish-to-pypi.yml on Imageomics/pybioclip

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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