|
Download README.md from pyamy/cxr-diffusion: direct link, hf CLI and curl.
- Browser
- Download file 818 Bytes
-
https://huggingface.co/pyamy/cxr-diffusion/resolve/main/README.md
- Command line
-
hf download hf://pyamy/cxr-diffusion/README.md
-
curl -L -o README.md https://huggingface.co/pyamy/cxr-diffusion/resolve/main/README.md
818 Bytes
Chest X-Ray Generator
Generate realistic chest X-ray images from text descriptions using a latent diffusion model.
Overview
This project provides a state-of-the-art generative model for creating synthetic chest X-ray images conditioned on text descriptions. The model has been trained on real X-ray images with corresponding radiologist reports and can generate high-quality, realistic X-rays based on medical text prompts.
The model architecture includes:
- A VAE encoder/decoder specialized for chest X-rays
- A medical text encoder based on BioBERT
- A UNet with cross-attention for conditioning
- A diffusion model that ties everything together
Installation
- Clone the repository:
git clone https://github.com/yourusername/chest-xray-generator.git
cd chest-xray-generator