Downloads · 30 days
0
ankoninc/pathologyprognosis
pathologyprognosis is a token classification model from ankoninc. Use it when you need labels on individual words, such as names. It is set up for fastai. The card lists the license as apache-2.0.
This model is used for high and low classification of survival period and disease-free survival period for pathological multimodal input.
Downloads · 30 days
0
Access
Public
Updated Oct 31, 2024
Repo size
103 MB
Likes
2
Public
Click a slice to open those files.
.pt101 MB · 94%
From the Hugging Face model README
This model is used for high and low classification of survival period and disease-free survival period for pathological multimodal input.
Use the code inference.py to get started with the model.
In inference.py, modify the model path and dataset path to do the model evaluation.
The model outputs the classification accuracy on two categories.
The inputs of the model are the pathological image features and pathological text features extracted based on PLIP [A visual–language foundation model for pathology image analysis using medical Twitter]. You can organize your own dataset for evaluation according to this method.
| pathological image | heat map of image | text and importance distribution |
|---|---|---|
| <img src="https://huggingface.co/ankoninc/pathologyprognosis/resolve/main/images/8-A1.png" width="224" height="224" alt=""> | <img src="https://huggingface.co/ankoninc/pathologyprognosis/resolve/main/images/8-A1-heatmap.png" width="224" height="224" alt=""> | <img src="https://huggingface.co/ankoninc/pathologyprognosis/resolve/main/images/8-A1-txt-visual.png" width="224" height="224" alt=""> |
| <img src="https://huggingface.co/ankoninc/pathologyprognosis/resolve/main/images/20225633812.png" width="224" height="224" alt=""> | <img src="https://huggingface.co/ankoninc/pathologyprognosis/resolve/main/images/20225633812-heatmap.png" width="224" height="224" alt=""> | <img src="https://huggingface.co/ankoninc/pathologyprognosis/resolve/main/images/20225633812-txt-visual.png" width="224" height="224" alt=""> |
| <img src="https://huggingface.co/ankoninc/pathologyprognosis/resolve/main/images/20225603708.png" width="224" height="224" alt=""> | <img src="https://huggingface.co/ankoninc/pathologyprognosis/resolve/main/images/20225603708-heatmap.png" width="224" height="224" alt=""> | <img src="https://huggingface.co/ankoninc/pathologyprognosis/resolve/main/images/20225603708-txt-visual.png" width="224" height="224" alt=""> |
This links shows more visualized results corresponding to pathological images and text inputs. The visualized results include the heat map distribution of pathological images, the heat map distribution of pathological image patches, and the display of text importance distribution.