Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Richardqiyi/U-Net-_SIIM

Repository files navigation

U-Net-_SIIM

U-Net++ model for SIIM-ACR-Pneumothorax-Seg-XR dataset. For original repo, see UNet++

Dataset

SIIM-ACR-Pneumothorax-Seg-XR dataset.

Environment

python = 3.7, PyTorch = 1.7.1, cuda = 10.1

GPU

1*Nvidia RTX 3090 24GB

Docker

docker pull stevezeyuzhang/colab:1.7.1

Installation

pip install -r requirements.txt

File Directory

|-- U-Net-_SIIM
    |-- inputs
        |-- SIIM-ACR-Pneumothorax-Seg-XR
            |-- images
                |-- <your image>
            |-- masks
                |-- 0
                    |-- <your label>(the same name with image)
        |-- SIIM-ACR-Pneumothorax-Seg-XR_test (this is for segmentation)
            |-- images
                |-- <your image>

Training

python train.py --dataset SIIM-ACR-Pneumothorax-Seg-XR --arch NestedUNet --img_ext .png --mask_ext .png

inference

The checkpoint is saved in models

python inference.py --name SIIM-ACR-Pneumothorax-Seg-XR_NestedUNet_woDS

The results will be in the outputs .

You may need to resize the the ouputs to size corresponding with the test images. See inference.py.

About

U-Net++ model for SIIM-ACR-Pneumothorax-Seg-XR dataset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages