Hong Kong SAR Chinaanthonyweidai/SvANet
[TNNLS 2026] SvANet: Exploiting Scale-Variant Attention for Segmenting Small Medical Objects
Featured achievements
The project's latest awards
#1 Repository of the month
#1 Repository of the month
#1 Repository of the month
Exploiting Scale-Variant Attention for Segmenting Small Medical Objects
Welcome to the official implementation of ``Exploiting Scale-Variant Attention for Segmenting Small Medical Objects''. This repository offers a robust toolkit designed for advanced tasks in deep learning and computer vision, specifically tailored for semantic segmentation. It supports features such as training progress visualization, logging, and calculation of standard metrics.
Exploiting Scale-Variant Attention for Segmenting Small Medical Objects
Wei Dai, Rui Liu, Zixuan Wu, Tianyi Wu, Min Wang, Junxian Zhou, Yixuan Yuan, Jun Liu
Accepted in IEEE Transactions on Neural Networks and Learning Systems, 2026. [Paper][arXiv]

Installation
To install the SvANet implementation, please follow the detailed instructions in INSTALL.md.
Benchmark and Evaluation
Please refer to DATA.md for guidelines on preparing the datasets for benchmarking and training.
To initiate the training and evaluation processes, utilize the configuration settings provided in the main.sh script. Prior to commencing the training, ensure that you have downloaded the pretrained model from torchvision.
Results for Datasets with Diverse Object Sizes
Results for the Dataset for Only Ultra-small Objects
Ablation studies
For detailed settings of the ablation study and additional experiments, refer to refer to the scripts ablation.sh and ablation_extra.sh.
Inference
To perform inference evaluation on various datasets, it is important to organize the data according to the guidelines provided in DATA.md. After completing the training process, refrain from making any modifications to the output folder. Instead, utilize tinyObjectsValidation.py for evaluation purposes. Please remember to update the "RootPath" variable in the script to match the location of your output folder.
Citation
If you use this implementation in your research, please consider citing our paper as follows:
@article{dai2026exploiting,
title={Exploiting scale-variant attention for segmenting small medical objects},
author={Dai, Wei and Liu, Rui and Wu, Zixuan and Wu, Tianyi and Wang, Min and Zhou, Junxian and Yuan, Yixuan and Liu, Jun},
journal={IEEE Transactions on Neural Networks and Learning Systems},
year={2026},
publisher={IEEE}
}
Similar Projects
Discover other similar projects and AI models.
Learn AI Engineering! Learn it. Build it. Ship it for others.
Ultralytics YOLOv5 in PyTorch for object detection, instance segmentation, classification, training, and export.
Implementation of Vision Transformer, a simple way to achieve SOTA in vision classification with only a single transformer encoder, in Pytorch
A pytorch-based deep learning framework for multi-modal 2D/3D medical image segmentation