Skip to content

Y-P-Zhang/PolypSegmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PolypSegmentation

Introduction

Built based on ACSNet. I have extended the code to support more models and make it easier to use. On top of the original code, I added some function: progress bar display, log logging, multi-scale training for all networks, etc.

Currently supported models:

  • Unet
  • ACSNet
  • PraNet

Requirements

  • torch
  • torchvision
  • tqdm
  • opencv
  • scipy
  • skimage
  • PIL
  • numpy

Usage

1. Training

# To train PraNet, for example.
python train.py  --config pranet --exp_name pranet --gpu_ids 0
# You can resume traning by:
python train.py  --config pranet --continue_train

More network and training configurations need to be modified in configs.

2. Inference

python test.py  --config pranet 

About

Multi-model Polyp Segmentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages