Skip to content

junelsolis/PathoNet

 
 

Repository files navigation

PathoNet introduced as a deep neural network backend for evaluation of Ki-67 and tumor-infiltrating lymphocytes in breast cancer

This repository is code release for the study published here on Scientific Reports Journal.

Abstract

The nuclear protein Ki-67 and Tumor infiltrating lymphocytes (TILs) have been introduced as prognostic factors in predicting both tumor progression and probable response to chemotherapy. The value of Ki-67 index and TILs in approach to heterogeneous tumors such as Breast cancer (BC) that is the most common cancer in women worldwide, has been highlighted in literature. Considering that estimation of both factors are dependent on professional pathologists’ observation and inter-individual variations may also exist, automated methods using machine learning, specifically approaches based on deep learning, have attracted attention. Yet, deep learning methods need considerable annotated data. In the absence of publicly available benchmarks for BC Ki-67 cell detection and further annotated classification of cells, In this study we propose SHIDC-BC-Ki-67 as a dataset for the aforementioned purpose. We also introduce a novel pipeline and backend, for estimation of Ki-67 expression and simultaneous determination of intratumoral TILs score in breast cancer cells. Further, we show that despite the challenges that our proposed model has encountered, our proposed backend, PathoNet, outperforms the state of the art methods proposed to date with regard to harmonic mean measure acquired.

PathoNet Backend

Contents

Requirements

  1. pip install -r ./requirements.txt

Tested Config

  • Cuda : 10.0
  • Tensorflow : 10.13.1
  • keras : 2.2.4
  • Nvidia Driver version : 436.48
  • Python: 3.6.X

Pretrained Models

You can download the pretrained models :

  1. DeepLab MobileNet
  2. DeepLab Xception
  3. FCRNA
  4. FCRNB
  5. PathoNet
  6. U-Net

Datasets

You need to download SHIDC-B-Ki-67-V1.0 dataset by following instructions here. You can wether download the pretrianed models and skip the training or perfotrm training from scratch. Table below shows statistics of this dataset.

Scripts

In the following section, usecases of the scripts are provided.

Train

To train a model:

python trian.py -c <config file path>

Evaluation

To evaluate file/files run the following command:

python evaluation.py -i <test data directory> -c <config file path>

Demo

To run demo on file/files run the following command:

python demo.py -i <test data directory/file path> -o <output directory> -c <config file path>

Preprocessing

In order to perform preprocessing run the following command:

python preprocessing.py -i <input data directory> -o <output data directory> -s <output size(default=256,256,3)> -a <data augmentation flag(default=False)> -g <label gaussian size(default=9)>

Results

In this section results obtained from this study is shown. Note that due to different initialization points, final result may vary a bit.

Quantitative Results

Qualitative Results

Qualitative result samples on cropped images:

Below, you can see a sample of Raw image (4912x3684 pixels) and it's prediction using the proposed backend:

Citation

If you found this work useful in your research, please give credits to the authors by citing:

@article{negahbani2021pathonet,
  title={PathoNet introduced as a deep neural network backend for evaluation of Ki-67 and tumor-infiltrating lymphocytes in breast cancer},
  author={Negahbani, Farzin and Sabzi, Rasool and Jahromi, Bita Pakniyat and Firouzabadi, Dena and Movahedi, Fateme and Shirazi, Mahsa Kohandel and Majidi, Shayan and Dehghanian, Amirreza},
  journal={Scientific reports},
  volume={11},
  number={1},
  pages={1--13},
  year={2021},
  publisher={Nature Publishing Group}
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%