Supporting code and data: Simulating spatial multi-hazards with generative deep learning
收藏资源简介:
This repository contains all code to reproduce the figures in the paper Simulating spatial mulit-hazards with generative deep learning. Note that due to stochasticity in the StyleGAN training, some results may vary slightly. Installation git clone git@github.com:alisonpeard/hazGAN.git cd environments mamba create -f apple-silicon.yaml # or yaml for other OS mamba activate hazGANv0 The path to the data folder hazGAN-data is set in the .env file in the parent directory. Change it to point to the location of the extracted data zipfile. The StyleGAN model is included in the styleGAN-DA folder. This model requires an NVIDIA GPU to run. The environment definition in environments/linux-gpu.yaml creates an environment that works with the model on linux machines.



