Repo for diffusion based calorimeter generation.
Started as an offshoot of CaloScore.
Following the approach of Denoising Diffusion Probabilistic Models and High-Resolution Image Synthesis with Latent Diffusion Models.
Pytorch v1.9 was used to implement all models.
Results are presented using the Fast Calorimeter Data Challenge dataset and are available for download on zenodo:
cd scripts
python train.py --config CONFIG --model MODEL
-
MODEL options are: subVPSDE/VESDE/VPSDE (Original CaloScore)
-
For training an autoencoder or training a diffusion model, use
train_ae.py
ortrain_diffu.py
-
CONFIG options are
[config_dataset1.json/config_dataset2.json/config_dataset3.json]
python plot.py --nevts N --sample --config CONFIG --model MODEL
python plot.py --config CONFIG --model MODEL