Skip to content

NamGyuKang/Physics-Informed-Gaussians

Repository files navigation

icon PIG: Physics-Informed Gaussians as Adaptive Parametric Mesh Representations

ICLR 2025

Namgyu Kang · Jaemin Oh · Youngjoon Hong · Eunbyung Park

Logo

Allen_Cahn_Gaussians.mp4
Klein_Gordon_Gaussians.mp4
Helmholtz_Gaussians.mp4

Quick Start

1. Installation

Clone Physics-Informed-Gaussians repo

git clone https://github.com/NamGyuKang/Physics-Informed-Gaussians.git
cd Physics-Informed-Gaussians

Create JAX environment (Flow-Mixing, Klein-Gordon, Nonlinear-Diffusion Eq.)

Please follow the steps in the Jax_gpu_version_installation.txt file to install the JAX GPU version.

Create Pytorch environment (Helmholtz Eq.)

The code is tested with Python (3.8, 3.9) and PyTorch (1.11, 11.2) with CUDA (>=11.3). You can create an Anaconda environment with those requirements by running:

  • if you use CUDA 11.3, Pytorch 1.11, Python 3.9, conda env create -f CUDA_11_3_Pytorch_1_11_Py_3_9.yml
  • or with CUDA 11.6, Pytorch 1.12, Python 3.8, conda env create -f CUDA_11_6_Pytorch_1_12_Py_3_8.yml
  • and then conda activate pig

2. Run the code in each folder

  • CUDA_VISIBLE_DEVICES=0 bash flow_mixing3d_pig.sh
  • CUDA_VISIBLE_DEVICES=0 bash helmholtz2d_pig.sh
  • CUDA_VISIBLE_DEVICES=0 bash klein_gordon3d_pig.sh
  • CUDA_VISIBLE_DEVICES=0 bash diffusion3d_pig.sh

Citation

If you find this code useful in your research, please consider citing us!

@inproceedings{kang2025pig,
  title={{PIG}: {P}hysics-{I}nformed {G}aussians as {A}daptive {P}arametric {M}esh {R}epresentations},
  author={Namgyu Kang and Jaemin Oh and Youngjoon Hong and Eunbyung Park},
  booktitle={The Thirteenth International Conference on Learning Representations},
  year={2025},
  url={https://openreview.net/forum?id=y5B0ca4mjt}
}

Contact

Contact Namgyu Kang if you have any further questions.

Acknowledgements

This project is built on top of several outstanding repositories: SPINN, PIXEL, JAXPI. We thank the original authors for open-sourcing their excellent work.

About

[ICLR 2025] PIG: Physics-Informed Gaussians as Adaptive Parametric Mesh Representations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •