Check out the standalone example notebooks spectral_guidance_eigenfunctions.ipynband spectral_guidance_gaussian.ipynb.
Training scripts are available in the scripts folder.
The main.ipynb notebook provides an example for DDIM sampling with spectral guidance.
@inproceedings{moreira2026spectralguidance,
author = {Moreira, Gabriel and Marques, Manuel and Costeira, Jo{\~a}o Paulo and Xiong, Chenyan},
title = {Spectral Guidance for Flexible and Efficient Control of Diffusion Models},
booktitle = {International Conference on Machine Learning},
year = {2026},
}