Skip to content

Code for "Broadband Ground Motion Synthesis via Generative Adversarial Neural Operators: Development and Validation"

Notifications You must be signed in to change notification settings

Caltech-geoquake/GM-GANO

Repository files navigation

cGM-GANO

demo The repository contains code for Broadband Ground Motion Synthesis via Generative Adversarial Neural Operators: Development and Validation , for more information about GANO implementation, please refer to GANO

Installation

create conda environment and install necessary libraries

conda create --name gano

conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia

conda install -c anaconda ipykernel

pip install ipykernel

python -m ipykernel install --user --name=gano

conda install pandas

conda install matplotlib
 
pip install scipy

pip install tqdm

Load the pretrained model

please download the trained model through following link, and store the model under kik_net_trained_model folder https://drive.google.com/file/d/18k366Y4UmaGoYxepwzZaGo_nw6Kup0cW/view?usp=sharing

Quick start of using trained GANO

run tutorials_for_cGmGANO.ipynb file for generating 3C waveforms

Train your own cGM-GANO

run train_GANO.ipynb

About

Code for "Broadband Ground Motion Synthesis via Generative Adversarial Neural Operators: Development and Validation"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published