Pip library for MedImageInsights medical model
Project description
🩺 MedImageInsights
MedImageInsights is a package streamlined of the original HuggingFace repository mantained by the Lion-AI team available here. Its purpose is to make it easier to integrate the medical image embedding model MedImageInsight in Python projects by removing unecessary modules, simplifying dependencies and offering a clean pip install interface.
The official guide to download and use the model belongs to Microsoft and it is defined as open-source though the installation process is quite complicated. Moreover, the model version of Lion-AI requires the cloning of the repository and the use of a package manager.
Thus, in this work we present an easy to use pip library for the model MedImageInsight. By packaging and simplifying some of the code in the repository owned by Lion-AI we are able to make it even easier to use the model, without needing to use Microsoft Azure services or downloading the whole code from the HuggingFace repo. On the contrary, the user can simply install the library MedImageInsights via PyPi in order to use the model for tasks such as zero-shot classification or embedding generation.
💿 Installation
As mentioned above, the library can easily installed via pip:
pip install medimageinsights
📝 Tutorials
Once you have installed the library on your environment, you can test it by running this example script.
A python notebook is also provided, that can be either run on your device or in Google Colab. You may preview the notebook here or directly run it on Colab here.
🌟 Acknowledgements
Both the original Lion-AI repo and this package are based on the work described in the paper "MedImageInsight: An Open-Source Embedding Model for General Domain Medical Imaging" by Noel C. F. Codella et al (arXiv:2410.06542).
Most of the implementation is inherited from the Lion-AI repository. Credit is due to Noel C. F. Codella et al., and the Lion-AI team for designing, training, and publishing the original model and code.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file medimageinsights-0.1.1.tar.gz.
File metadata
- Download URL: medimageinsights-0.1.1.tar.gz
- Upload date:
- Size: 611.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fc65924cb88282db61ade27421a2f43a96a430dd3090c7a0392a30ea4159645
|
|
| MD5 |
f08c176a74f4341d0ac6a93d1f84b411
|
|
| BLAKE2b-256 |
5c231f8c546b64db002d0ac101dee6808d9ba008717485fcf5329d30ed8b06be
|