Official code for the paper: Image Synthesis with Class-Aware Semantic Diffusion Models for Surgical Scene Segmentation
-
CholecSeg8K train/test sets
Download here -
CholecSeg8K colorful masks
Download here -
Image generation checkpoint
Download from Google Drive
- Training: See
train.ipynb - Generation / Testing: See
test.ipynb
Our model is built upon the following excellent open-source projects:
- 🤗 Hugging Face Diffusers – the baseline of this project and code for mask synthesis is based on its implementation of Stable Diffusion
- 🧠 Semantic Diffusion Model by Weilun Wang – semantic-aware conditioning framework
We thank the authors for their contributions to the open-source community.
Feel free to open an issue or contact us if you have any questions.
Pull requests are welcome!