Skip to content

james128333/HarDNet-MSEG

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HarDNet-MSEG: A Simple Encoder-Decoder Polyp Segmentation Neural Network that Achieves over 0.9 Mean Dice and 86 FPS

Arxiv Paper : HarDNet-MSEG: A Simple Encoder-Decoder Polyp Segmentation Neural Network that Achieves over 0.9 Mean Dice and 86 FPS

ICCV 2019 Paper : HarDNet: A Low Memory Traffic Network

HarDNet Family

For Image Classification : HarDNet A Low Memory Traffic Network

For Object Detection : CenterNet-HarDNet 44.3 mAP / 45 fps on COCO Dataset

For Semantic Segmentation : FC-HarDNet 76.0 mIoU / 53 fps on Cityscapes Dataset

Main results

Performance on Kvasir-SEG Dataset

(Training/Testing split = 880/120 according to Real-Time Polyp Detection, Localisation and Segmentation in Colonoscopy Using Deep Learning) (FPS measures on 2080Ti)

Models mIoU mDice F2-score Precision Recall Overall Acc. FPS
U-Net 0.471 0.597 0.598 0.672 0.617 0.894 11
ResUNet 0.572 0.690 0.699 0.745 0.725 0.917 15
DoubleUNet 0.733 0.813 0.820 0.861 0.840 0.949 7.5
DeepLabv3+[ResNet50] 0.776 0.857 0.855 0.891 0.8616 0.961 28
U-Net[ResNet34] 0.810 0.876 0.862 0.944 0.860 0.968 35
HarDNet-MSEG 0.848 0.904 0.915 0.907 0.923 0.969 86.7

Performance on Kvasir-SEG Dataset

(Training/Testing split = 1450 from 5 datasets /100 from Kvasir-SEG according to PraNet: Parallel Reverse Attention Network for Polyp Segmentation) (FPS measures on 2080Ti)

Models mDice mIoU wfm Sm MAE maxEm FPS
U-Net 0.818 0.746 0.794 0.858 0.055 0.893 11
U-Net++ 0.821 0.743 0.808 0.862 0.048 0.910 25
SFA 0.723 0.611 0.67 0.782 0.075 0.849 40
PraNet 0.898 0.840 0.885 0.915 0.030 0.948 66
HarDNet-MSEG 0.912 0.857 0.903 0.923 0.025 0.958 88

Sample Inference Results of Kvasir-SEG Dataset comparing with PraNet

HarDNet-MSEG Architecture

  • A Simple Encoder-Decoder architecture

  • Encoder Part : Using HarDNet68 as backbone

    + k = growth rate (as in DenseNet)
    + m = channel weighting factor (1.6~1.7)
    + Conv3x3 for all layers (no bottleneck layer)
    + No global dense connection (input of a HarDBlk is NOT reused as a part of output)
    + Using RFB Block for increasing the receptive field and strengthening the features.
    + Dense aggregation for fusing the features.

Installation & Usage

1. Training/Testing

Evaluation :

  1. Change the image_root, gt_root in line 49, 50 in eval_Kvasir.py
  2. Run the eval_Kvasir.py to get a similar result (about +0.002) to our report for Kvasir Dataset.

Another one is written in MATLAB code (link). You can see how to run it in https://github.com/DengPingFan/PraNet#32-evaluating-your-trained-model- And our report is using this code to evaluate.

3. Acknowledgement

Citation

If you find this project useful for your research, please use the following BibTeX entry.

  @misc{huang2021hardnetmseg,
  title={HarDNet-MSEG: A Simple Encoder-Decoder Polyp Segmentation Neural Network that Achieves over 0.9 Mean Dice and 86 FPS}, 
  author={Chien-Hsiang Huang and Hung-Yu Wu and Youn-Long Lin},
  year={2021},
  eprint={2101.07172},
  archivePrefix={arXiv},
  primaryClass={cs.CV}
  } 
  
  @inproceedings{chao2019hardnet,
  title={Hardnet: A low memory traffic network},
  author={Chao, Ping and Kao, Chao-Yang and Ruan, Yu-Shan and Huang, Chien-Hsiang and Lin, Youn-Long},
  booktitle={Proceedings of the IEEE International Conference on Computer Vision},
  pages={3552--3561},
  year={2019}
  }

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 64.6%
  • MATLAB 35.4%