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
| { | |
| "spec_version": "1.0", | |
| "architecture": "resnet50", | |
| "num_classes": 2, | |
| "class_names": [ | |
| "Other", | |
| "Metastasis" | |
| ], | |
| "patch_size_pixels": 96, | |
| "spacing_um_px": 1.0, | |
| "transform": [ | |
| { | |
| "name": "Resize", | |
| "arguments": { | |
| "size": 96 | |
| } | |
| }, | |
| { | |
| "name": "ToTensor" | |
| } | |
| ] | |
| } |