Coder Social home page Coder Social logo

santiagosiordia5 / esfpnet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zengjixiangnfft/esfpnet

0.0 0.0 0.0 510 KB

Official Implementation of "ESFPNet: efficient deep learning architecture for real-time lesion segmentation in autofluorescence bronchoscopic video"

Python 13.80% MATLAB 25.38% Jupyter Notebook 60.82%

esfpnet's Introduction

ESFPNet

Official Implementation of "ESFPNet: efficient deep learning architecture for real-time lesion segmentation in autofluorescence bronchoscopic video"

Global Rank

PWC

PWC

PWC

PWC

Architecture of ESFPNet

Result

Installation & Usage

Enviroment (Python 3.8)

  • Install Pytorch:
conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch
  • Install image reading and writting library:
conda install -c conda-forge imageio
  • Install image processing library:
pip install scikit-image
  • Install library for parsing and emitting YAML:
pip install pyyaml
  • Install other packages:
conda install pillow numpy matplotlib
  • Install Jupyter-Notebook to run .ipynb file
conda install -c anaconda jupyter

Dataset

  • Download the training and testing dataset from this link: Experiment Dataset
  • Extract the folders and copy them under "Endoscope-WL" folder
  • The training and testing dataset are ordered as follows in "Endoscope-WL" folder:
|-- TrainDataset
|   |-- CVC-ClinicDB
|   |   |-- images
|   |   |-- masks
|   |-- Kvasir
|       |-- images
|       |-- masks

|-- TestDataset
|   |-- CVC-300
|   |   |-- images
|   |   |-- masks
|   |-- CVC-ClinicDB
|   |   |-- images
|   |   |-- masks
|   |-- CVC-ColonDB
|   |   |-- images
|   |   |-- masks
|   |-- ETIS-LaribPolypDB
|   |   |-- images
|   |   |-- masks
|   |-- Kvasir
|       |-- images
|       |-- masks
  • The default dataset paths can be changed in "Configure.yaml"
  • To randomly split the CVC-ClincDB or Kvasir dataset, set "if_renew = True" in "ESFPNet_Endoscope_Learning_Ability.ipynb"
  • To repeat generate the splitting dataset, previous generated folder shold be detelted first
  • To reuse the splitting dataset without generating a new dataset, set "if_renew = False"

Pretrained model

  • Download the pretrained Mixtransformer from this link: Pretrained Model
  • Put the pretrained models under "Pretrained" folder

Citation

If you think this paper helps, please cite:

@article{chang2022esfpnet,
  title={ESFPNet: efficient deep learning architecture for real-time lesion segmentation in autofluorescence bronchoscopic video},
  author={Chang, Qi and Ahmad, Danish and Toth, Jennifer and Bascom, Rebecca and Higgins, William E},
  journal={arXiv preprint arXiv:2207.07759},
  year={2022}
}

Since the training of MixTransformer based network requires a good GPU. One helpful state-of-the-art work compared in this paper without using MixTransformer backbone is CARANet If you also think this work helps, please cite:

@inproceedings{lou2021caranet,
author = {Ange Lou and Shuyue Guan and Hanseok Ko and Murray H. Loew},
title = {{CaraNet: context axial reverse attention network for segmentation of small medical objects}},
volume = {12032},
booktitle = {Medical Imaging 2022: Image Processing},
organization = {International Society for Optics and Photonics},
publisher = {SPIE},
pages = {81 -- 92},
year = {2022},
doi = {10.1117/12.2611802}}

esfpnet's People

Contributors

dumycq avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.