Binary Segmentation - PraNet-V2
April 17, 2025 ยท View on GitHub
๐ Overview
Welcome to the binary segmentation hub of PraNet-V2! ๐ฅโจ
This directory contains everything you need for training, testing, and inference on polyp segmentation tasks. If you're looking for accurate medical image segmentation, you're in the right place! ๐ช๐
๐ Directory Structure
binary/
โโโ models/ # Pre-trained models
โโโ data/ # Datasets (see the main README for details)
โโโ snapshots/ # Checkpoints saved during training
โโโ MyTrain_med.py # Training script
โโโ MyTest_med.py # Testing/inference script
โโโ eval.py # Evaluation script
โโโ utils/ # Utility functions
โโโ README.md # This file
๐ How to Run
Training
python -W ignore MyTrain_med.py --model_type PraNet-V2
Inference
python -W ignore MyTest_med.py
Evaluation
python -W ignore eval.py
๐ฅ Dataset Download
To get started, download the dataset by following the instructions in the main README and place it in binary/data/.
๐ Citation
If you find our work useful, please consider citing us! ๐๐
@article{hu2025pranet2,
title={PraNet-V2: Dual-Supervised Reverse Attention for Medical Image Segmentation},
author={Hu, Bo-Cheng and Ji, Ge-Peng and Shao, Dian and Fan, Deng-Ping},
journal = {arXiv preprint arXiv:2504.10986},
year={2025},
url = {https://arxiv.org/abs/2504.10986}
}