Skip to content
/ U-Net Public

PyTorch implementation of U-Net, R2U-Net and IterNet for Retinal image segmentation

Notifications You must be signed in to change notification settings

ZiyuanMa/U-Net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

U-Net, R2U-Net and IterNet for Retinal image segmentation

Introduction

PyTorch implementation of U-Net, R2U-Net and IterNet. Running on DRIVE dataset.

Train

python3 main.py --model MODEL_NAME --epoch NUM_EPOCHS

Test

You can also download pre-trained model from: https://drive.google.com/drive/folders/1AxaeHDFN-X8EDN38znEysthh2tSdD_0u?usp=sharing

command:

python3 main.py --model MODEL_NAME --mode test --show T_OR_F

'--model' refers to the model's name which includes 'U-Net', 'R2U-Net' and 'IterNet'.

'--show' refers to if visualize the result

example:

python3 main.py --model IterNet --show True

This will run IterNet on test set and show the predicted result for each image.

About

PyTorch implementation of U-Net, R2U-Net and IterNet for Retinal image segmentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages