Skip to content
zyjuxPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

141 Commits

Folders and files

Repository files navigation

TraPNets

Repository for work on Transversal Pooling Neural Networks (TraPNets) by Emily J. King, Dustin Mixon, Michael Perlmutter, and Lander Ver Hoef. Prior versions of this work used the "Group Lipschitz Pooling" or "GLP" name and acronym, but to be more accurate (and avoid an acronym now commonly used outside of mathematics) we are now using TraPNet. However, the acronym GLP is used often within this package and should be viewed as synonymous with TraPNet wherever it occurs.

A note on notation

The $\Psi$ operator from the paper (when applied with the group $G$ generated by rotations and translations) corresponds to the composition of the custom PyTorch layer glp_rotation_stack followed by a 3D convolution with a $n \times n \times 1$ kernel. The $\Xi$ operator (again, with a group $G$ generated by rotations and translations) corresponds to the glp_rotation_pool custom layer.

Structure of this repository

This repository is organized into three main folders.

  • The verifying_continuity folder contains code, scripts, and experimental results relating to verifying that the $\Psi$ and $\Xi$ operators are well-behaved.
  • Second, the synthetic_data folder contains everything necessary to show that the TraPNet performs better than TraPNet on smaller datasets, including synthetic data generation scripts, model definition and training code, and experimental scripts and results.
  • Finally, the glp_ri folder contains the relevant code for training the TraPNet and CNN networks on tropical cyclone (TC) rapid intensification (RI) data, as well as the trained model files and results. More data on those data can be found in this paper.

environment.yml contains a listing of all the packages needed for this repo. Installation was generally performed via pip, and the majority of the work was performed using PyTorch version 2.11.0 with CUDA version 13.3.

Generative AI Usage Statement

Feedback from a ChatGPT review was used to make minor corrections to the validation loops and sampling procedures in the synthetic data section.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages