The code in the repository reproduces the experiments in the study: Memorization and Regularization in Generative Diffusion Models by Ricardo Baptista, Agnimitra Dasgupta, Nikola B. Kovachki, Assad Oberai, and Andrew M. Stuart