Skip to content
/ SPL Public

The Official PyTorch code for “A Weakly Supervised Semantic Segmentation Method based on Local Superpixel Transformation”.

Notifications You must be signed in to change notification settings

JimmyMa99/SPL

Repository files navigation

SPL

Coming soon!

The Official PyTorch code for “A Weakly Supervised Semantic Segmentation Method based on Local Superpixel Transformation”.

p1.png

p2.png

p3.png

Installation

Use the following command to prepare your environment.

pip install -r requirements.txt

Execution

Dataset & pretrained model

Segmentation network

Citation

If you use our codes and models in your research, please cite:

@misc {PPR:PPR635314,
	Title = {A Weakly Supervised Semantic Segmentation Method based on Local Superpixel Transformation},
	Author = {Ma, Zhiming and Chen, Dali and Mo, Yilin and Chen, Yue and Zhang, Yuming},
	DOI = {10.21203/rs.3.rs-2714436/v1},
	Abstract = {Weakly supervised semantic segmentation (WSSS) can obtain pseudo-semantic masks through a weaker level of supervised labels, reducing the need for costly pixel-level annotations. However, the general class activation map (CAM)-based pseudo-mask acquisition method suffers from sparse coverage, leading to false positive and false negative regions that reduce accuracy. We propose a WSSS method based on local superpixel transformation that combines superpixel theory and image local information. Our method uses a superpixel local consistency weighted cross-entropy loss to correct erroneous regions and a post-processing method based on the adjacent superpixel affinity matrix (ASAM) to expand false negatives, suppress false positives, and optimize semantic boundaries. Our method achieves 73.4% mIoU on the PASCAL VOC 2012 validation set and 73.9% on the test set, and the ASAM post-processing method is validated on several state-of-the-art methods. If our paper is accepted, our code will be published.},
	Publisher = {Research Square},
	Year = {2023},
	URL = {https://doi.org/10.21203/rs.3.rs-2714436/v1},
}

TODO

A gradio run effect demo.

Latest Update

2023.8.28 🎉🎉Our paper was accepted and the full code will be made public soon!

About

The Official PyTorch code for “A Weakly Supervised Semantic Segmentation Method based on Local Superpixel Transformation”.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published