An open API service indexing awesome lists of open source software.

https://github.com/sartaj0/pytorchsegmentation

Providing a pipeline for training a segmentation model with different architectures
https://github.com/sartaj0/pytorchsegmentation

focal-loss pspnet pytorch segmentation tversky-loss unet

Last synced: about 2 months ago
JSON representation

Providing a pipeline for training a segmentation model with different architectures

Awesome Lists containing this project

README

        

# PytorchSegmentation

## Dependency
- pytorch 1.8.1, CUDA 10.2
`pip3 install torch==1.8.1+cu102 torchvision==0.9.1+cu102`
- Requirements: Pillow, opencv-python, tqdm, matplotlib
`pip3 install Pillow opencv-python tqdm matplotlib`

## Onnx Model
From [here](https://drive.google.com/drive/folders/15VQZVkfNaAGdoFVUabpdWid6aUw_i7d_?usp=sharing) you can download onnx converted model and use this [file](https://github.com/sartaj0/PytorchSegmentation/blob/main/inferenceOnnx.py) for inferencing with opencv.

## Output Example
| Image | Prediction Mask | Output |
| --- | --- | --- |
| | | |
| | | |
| | | |
| | | |