Skip to content

SGI-2023/INSR-hybrid

Repository files navigation

Simulating Physics with Implicit Neural Spatial Representations

Official implementation for the paper:

Simulating Physics with Implicit Neural Spatial Representations
Honglin Chen*1, Rundi Wu*1, Eitan Grinspun2, Changxi Zheng1, Peter Yichen Chen3 1
1Columbia University, 2University of Toronto, 3Massachusetts Institute of Technology
ICML 2023

clone

cd /home/ubuntu/sgi/your_folder_name
git clone git@github.com:SGI-2023/INSR-hybrid.git
cd INSR-hybrid

run program inside docker container

docker run --gpus all -it -v $HOME:/home/ubuntu sgi-2023

The above command will start a docker container. Once you are in this container,

cd /home/ubuntu/sgi/your_folder_name/INSR-hybrid
bash scripts/xxx.sh

To detach from the container, you can find do: https://www.howtogeek.com/devops/how-to-detach-from-a-docker-container-without-stopping-it/

To re-enter the container

docker attach docker_id

docker_id is the number after root@ on your command line when you created the container.

Feel free to do whatever crazy things inside the container. No problem! But do not do anything crazy outside. However, you will need to do version control (i.e., git pull/commit/push) outside the docker.

Experiments

Run each shell script under scripts/ for the examples shown in the paper:

bash scripts/xxx.sh

For instance,

bash scripts/advect1D.sh

Citation

@inproceedings{chenwu2023insr-pde,
    title={Simulating Physics with Implicit Neural Spatial Representations},
    author={Honglin Chen and Rundi Wu and Eitan Grinspun and Changxi Zheng and Peter Yichen Chen},
    booktitle={International Conference on Machine Learning},
    year={2023}
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published