Skip to content

PyTorch Implementation for Segmentation and Saliency Prediction

Notifications You must be signed in to change notification settings

LongLong-Jing/PyTorch-UNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTorch-UNet

PyTorch Implementation for Foreground Segmentation and Saliency Prediction

Prerequisites

  • Linux or macOS
  • Python 2
  • CPU or NVIDIA GPU + CUDA CuDNN

Getting Started

Installation

  • Install PyTorch and dependencies from http://pytorch.org
  • Install Torch vision from the source.
git clone https://github.com/pytorch/vision
cd vision
python setup.py install
  • Clone this repo:
git clone https://github.com/LongLong-Jing/PyTorch-UNet
cd PyTorch-UNet

Unet train/test

  • Train a model:
python train_D.py
  • Test the model:
python test.py

Releases

No releases published

Packages

No packages published

Languages