ShapePU
[MICCAI 2022] ShapePU: A New PU Learning Framework Regularized by Global Consistency for Scribble Supervised Cardiac Segmentation
Install / Use
/learn @BWGZK/ShapePUREADME
ShapePU
This project is developed for our MICCAI 2022 paper: ShapePU: A New PU Learning Framework Regularized by Global Consistency for Scribble Supervised Cardiac Segmentation.
<div align=center><img src="ShapePU.png" width="85%" /></div> For more information about ShapePU, please read the following paper:@misc{zhang2022shapepu,
title={ShapePU: A New PU Learning Framework Regularized by Global Consistency for Scribble Supervised Cardiac Segmentation},
author={Ke Zhang and Xiahai Zhuang},
year={2022},
eprint={2206.02118},
archivePrefix={arXiv},
primaryClass={cs.CV}
}
Please also cite this paper if you are using ShapePU for your research.
Datasets
- The MSCMR dataset with mask annotations can be downloaded from MSCMRseg.
- Our scribble annotations of MSCMRseg have been released in MSCMR_scribbles.
- The scribble-annotated MSCMR dataset used for training could be directly downloaded from MSCMR_dataset.
- The ACDC dataset with mask annotations can be downloaded from ACDC and the scribble annotations could be downloaded from ACDC scribbles. Please organize the dataset as the following structure:
XXX_dataset/
-- TestSet/
--images/
--labels/
-- train/
--images/
--labels/
-- val/
--images/
--labels/
Usage
- Set the "dataset" parameter in main.py, line 55, to the name of dataset, i.e., "MSCMR_dataset".
- Set the "output_dir" in main.py, line 57, as the path to save the checkpoints.
- Download the dataset, for example, the MSCMR_dataset. Then, Set the dataset path in /data/mscmr.py, line 110, to your data path where the dataset is located in.
- Check your GPU devices and modify the "GPU_ids" parameter in main.py, line 61. Start training with:
python main.py
Requirements
This code has been tested with
Python 3.8.5
torch 1.7.0
torchvision 0.8.0
If you have any problems, please feel free to contact us. Thanks for your attention.
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
groundhog
398Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
sec-edgar-agentkit
10AI agent toolkit for accessing and analyzing SEC EDGAR filing data. Build intelligent agents with LangChain, MCP-use, Gradio, Dify, and smolagents to analyze financial statements, insider trading, and company filings.
Kiln
4.7kBuild, Evaluate, and Optimize AI Systems. Includes evals, RAG, agents, fine-tuning, synthetic data generation, dataset management, MCP, and more.
