Code repository for paper "GIDM: Gradient Inversion of Federated Diffusion Models", ARES2025. The diffusion model used in this project is implemented based on https://github.com/lucidrains/denoising-diffusion-pytorch/tree/main.
One pretrained model is provided to run the experiments. Before running the experiments, please unzip the pretrained model according to "trained_models/trained_celeba/note.txt".
- pip install -r requirements.txt
- python gidm.py