Skip to content
Snippets Groups Projects
Unverified Commit 3f6bbe86 authored by szc19990412's avatar szc19990412 Committed by GitHub
Browse files

Update README.md

parent d54a36a6
Branches
No related tags found
No related merge requests found
TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image Classification
# TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image Classification [NeurIPS 2021]
## Abstract
Multiple instance learning (MIL) is a powerful tool to solve the weakly supervised classification in whole slide image (WSI) based pathology diagnosis. However, the current MIL methods are usually based on independent and identical distribution hypothesis, thus neglect the correlation among different instances. To address this problem, we proposed a new framework, called correlated MIL, and provided a proof for convergence. Based on this framework, we devised a Transformer based MIL (TransMIL), which explored both morphological and spatial information. The proposed TransMIL can effectively deal with unbalanced/balanced and binary/multiple classification with great visualization and interpretability. We conducted various experiments for three different computational pathology problems and achieved better performance and faster convergence compared with state-of-the-art methods. The test AUC for the binary tumor classification can be up to 93.09% over CAMELYON16 dataset. And the AUC over the cancer subtypes classification can be up to 96.03% and 98.82% over TCGA-NSCLC dataset and TCGA-RCC dataset, respectively.
### Train
```python
python train.py --stage='train' --config='Camelyon/TransMIL.yaml' --gpus=0 --fold=0
```
### Test
```python
python train.py --stage='test' --config='Camelyon/TransMIL.yaml' --gpus=0 --fold=0
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment