Many people have requested the code I used to generate the training dataset [1], here you are ...
[1] N. Anantrasirichai, J. Biggs, F. Albino, D. Bull, A deep learning approach to detecting volcano deformation from satellite imagery using synthetic datasets, Remote Sensing of Environment, 230, 2019
Note that I don't have time to go through it, so please use it as your own risk, but please cite our paper.
Thanks!