Instructions to use microsoft/colipri with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- COLIPRI
How to use microsoft/colipri with COLIPRI:
pip install colipri
from colipri import get_model from colipri import get_processor from colipri import load_sample_ct from colipri import ZeroShotImageClassificationPipeline model = get_model().cuda() processor = get_processor() pipeline = ZeroShotImageClassificationPipeline("microsoft/colipri", processor) image = load_sample_ct() pipeline(image, ["No lung nodules", "Lung nodules"]) - Notebooks
- Google Colab
- Kaggle
Add reference to demo notebook
Browse files
README.md
CHANGED
|
@@ -70,6 +70,9 @@ pip install git+https://huggingface.co/microsoft/colipri.git
|
|
| 70 |
|
| 71 |
## Usage examples
|
| 72 |
|
|
|
|
|
|
|
|
|
|
| 73 |
First, let's get a 3D chest CT we can use for demonstration.
|
| 74 |
The plotted slices intersect a lung nodule near the heart.
|
| 75 |
|
|
|
|
| 70 |
|
| 71 |
## Usage examples
|
| 72 |
|
| 73 |
+
Below we share some usage snippets to get started with COLIPRI.
|
| 74 |
+
A more complete [Jupyter notebook](./COLIPRI_demo.ipynb) is also available.
|
| 75 |
+
|
| 76 |
First, let's get a 3D chest CT we can use for demonstration.
|
| 77 |
The plotted slices intersect a lung nodule near the heart.
|
| 78 |
|