Repository Map
๐ pdearena/
๐ data/ # (1)
๐ twod/ # (2)
๐ datapipes/
๐ common.py # (3)
... # (4)
๐ models/
๐ registry.py # (5)
๐ pdemodel.py # (6)
๐ cond_pdemode.py # (7)
๐ modules/ #(8)
๐ conditioned/
...
๐ twod_resnet.py
๐ twod_unet2015.py
๐ twod_unetbase.py
๐ twod_unet.py
๐ twod_uno.py
๐ activations.py # (9)
๐ loss.py # (10)
...
๐ utils.py
...
๐ pdedatagen/
๐ configs/ #(11)
๐ shallowwater
๐ navier_stokes.py
๐ pde.py # (12)
๐ scripts/
๐ train.py # (13)
๐ cond_train.py # (14)
๐ generate_data.py # (15)
๐ convertnc2zarr.py # (16)
๐ compute_normalization.py # (17)
๐ configs/ # (18)
- Everything data loading related goes here.
- Currently we only have 2D data support. But should be easy enough to add appropriate mechanisms for 1D, 3D and beyond.
- Common data pipe tranformations useful for building training and evaluation pipelines.
- Dataset opening data pipes for individual datasets.
- Model registry. Remember to register your new model here.
LightningModule
to support standard PDE surrogate learning.
LightningModule
to support time and parameter conditioned PDE surrogate learning.
- All the network architectures go here.
- Activation function registry
- Currently supported loss functions
- Configuration files for PDE data generation
- Register your new PDE configurations here
- Main training script for standard PDE surrogate training and testing
- Main training script for conditioned PDE surrogate training and testing
- Main script for generating data
- Supporting script to convert
netcdf
files to zarr
for faster data loading
- Supporting script to compute the data normalization statistics. Add normalization methods for your data here.
- pytorch-lightning configs to run experiments.