Skip to content

vilibili/FCN-pytorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FCN-pytorch

This is an implementation of Fully Convolutional Networks using pytorch.(https://openaccess.thecvf.com/content_cvpr_2015/html/Long_Fully_Convolutional_Networks_2015_CVPR_paper.html)

In the following, there is a predicted mask with image and groundtruth (In order from left to right: Eye image-Groundtruth image-Predicted mask):

S4000L02_00003 S4000L02_00003 S4000L02_00003_predicted

  1. requirements

pip install -r requirements.txt

  1. images and masks

Put images and maks in dataset/images and dataset/masks

  1. train.txt and val.txt

put images name in here:

image_name_1

image_name_2

.

.

.

image_nameN

  1. image size

The default image size is 256X256

I will be happy to help you. Please feel free to contact me.