Image Classification
Transformers
PyTorch
Safetensors
histology
digital pathology
patch camelyon
tiatoolbox
lymph nodes
metastasis
camelyon
Instructions to use kaczmarj/lymphnodes-tiatoolbox-resnet50.patchcamelyon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kaczmarj/lymphnodes-tiatoolbox-resnet50.patchcamelyon with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="kaczmarj/lymphnodes-tiatoolbox-resnet50.patchcamelyon") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("kaczmarj/lymphnodes-tiatoolbox-resnet50.patchcamelyon", device_map="auto") - Notebooks
- Google Colab
- Kaggle
change class names to Other and Metastasis
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
| 3 |
"architecture": "resnet50",
|
| 4 |
"num_classes": 2,
|
| 5 |
"class_names": [
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
],
|
| 9 |
"patch_size_pixels": 96,
|
| 10 |
"spacing_um_px": 1.0,
|
|
|
|
| 3 |
"architecture": "resnet50",
|
| 4 |
"num_classes": 2,
|
| 5 |
"class_names": [
|
| 6 |
+
"Other",
|
| 7 |
+
"Metastasis"
|
| 8 |
],
|
| 9 |
"patch_size_pixels": 96,
|
| 10 |
"spacing_um_px": 1.0,
|