Skip to content
/ cosnet Public

A Novel Semantic Segmentation Network using Enhanced Boundaries in Cluttered Scenes (WACV 2025)

License

Notifications You must be signed in to change notification settings

techmn/cosnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

COSNet: A Novel Semantic Segmentation Network using Enhanced Boundaries in Cluttered Scenes

[Arxiv]

Code will be uploaded soon !!!

Overview

COSNet uses boundary cues along with multi-contextual information to accurately segment the objects in cluttered scenes. COSNet introduces novel components including feature sharpening block (FSB) and boundary enhancement module (BEM) for enhancing the features and highlighting the boundary information of irregular waste objects in cluttered environment.

image


Installation

The codebase is adapted from [PVT] repository. Please follow the instructions available here to install the mmsegmentation v0.13.0.

Requirements

pytorch v1.10.1+cu111
mmsegmentation v0.13.0
mmcv 1.4.0

Training

You can find the datasets here:

[Zero-Waste-f] [Spectral-Waste]

You can utilize the below commands to train the COSNet:

Zero-Waste-f dataset

CUDA_VISIBLE_DEVICES=1 python train.py configs/cosnet/uper_cosnet_zerowaste_40k.py

Spectral-Waste dataset (RGB only)

CUDA_VISIBLE_DEVICES=1 python train.py configs/cosnet/uper_cosnet_specwaste_40k.py

ADE20k dataset

CUDA_VISIBLE_DEVICES=1 python train.py configs/cosnet/uper_cosnet_ade20k_160k.py

Evaluation

# Zero-Waste-f
python test.py configs/cosnet/uper_cosnet_zerowaste_40k.py ./zerowaste_logs/iter_40000.pth --eval mIoU

# Spectral-Waste
python test.py configs/cosnet/uper_cosnet_specwaste_40k.py ./spectralwaste_logs/iter_40000.pth --eval mIoU

# ADE20k
python test.py configs/cosnet/uper_cosnet_ade20k_160k.py ./ade20k_logs/iter_160000.pth --eval mIoU

Results

Model Dataset mIoU (%)
COSNet Zero-Waste-f 56.67
COSNet Spectral-Waste 69.96
COSNet ADE20k 48.4

Model Weights Will be uploaded soon !!!

Visualizations

Examples from Zero-Waste-f

image

Examples from ADE20k

image

Citation

@misc{ali2024cosnet,
      title={COSNet: A Novel Semantic Segmentation Network using Enhanced Boundaries in Cluttered Scenes}, 
      author={Muhammad Ali and Mamoona Javaid and Mubashir Noman and Mustansar Fiaz and Salman Khan},
      year={2024},
      eprint={2410.24139},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2410.24139}, 
}

See Also

FANet: Feature Amplification Network for Semantic Segmentation in Cluttered Background

About

A Novel Semantic Segmentation Network using Enhanced Boundaries in Cluttered Scenes (WACV 2025)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published