Skip to content

rsdljm/segmentation_pytorch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Semantic Segmentation Pytorch

    author is leilei
    Restart this project from 2017-10-01 
    TODO
    The latest version of the code cannot be executed and is still being updated.

Environment

    python: 3.6+
    ubuntu16.04 or 18.04
    pytorch 1.6+ (cuda10.2 docker)
    tensorboard 2.0+

Note

  • If a black border is introduced, it will be regarded as one type, and the default is 0 !
  • label value is [1, N], 0 is black border class !
  • Not supporting distributed(NCCL)

How to Use

  • Train

  • Test

  • Dataset Details

root:
    images:  
    labels: 
    train.txt:
        /home/dataset/seg/images/train/aaa.jpg
        /home/dataset/seg/images/train/bbb.jpg
    test.txt:
        /home/dataset/seg/images/test/ccc.jpg
    
how to match images and labels?
    '/home/dataset/seg/images/train/aaa.jpg'.replace('images', 'labels')
    or
    '/home/dataset/seg/labels/train/aaa.jpg'.replace('.jpg', '.png')

data enhancement:
    random flip, rotate, crop, noise, 
    hue-brightness-contrast-saturation, zoom(in out), copy-paste?, mosaic?

Support Network

  • TODO
  • [deeplab_v3]torchvision.models.deeplab_v3
  • HRNet
  • U^2Net
  • ...

Data Aug

others

About

semantic segmentation pytorch 语义分割

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%