Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
9430552
update package related information
Jun 10, 2022
e58e611
Fixed bug in fno and unet train scripts for concatenated training
timothypraditia Jun 11, 2022
e995765
Update README.md
falesiani Jun 13, 2022
4813484
Update README to include the instruction on how to use pre-trained mo…
timothypraditia Jun 13, 2022
9fe1861
init file
Jun 14, 2022
7b40e50
Merge branch 'main' of https://github.com/pdebench/PDEBench into main
Jun 14, 2022
22d6a70
Update README.md
falesiani Jun 14, 2022
d31466c
Update README.md
falesiani Jun 15, 2022
4da9b89
Update README.md
falesiani Jun 15, 2022
baf7483
Added implementation for 3D scenario, modified README.md, added data …
timothypraditia Jun 21, 2022
f97a012
Implemented changes on PINN training and NLE data generation scripts
timothypraditia Jun 29, 2022
6594ec2
Debugged Makoto's data generation utils code
timothypraditia Jul 15, 2022
535d9f1
Added time measurement for data generation of 2d diffusion-reaction, …
timothypraditia Aug 4, 2022
e628e87
Modified requirements file, separated the packages required for data …
timothypraditia Aug 9, 2022
853e30b
simplify download utility script
leiterrl Aug 10, 2022
e930c32
delete obsolete example env file
leiterrl Aug 10, 2022
dfae55e
update requirements
leiterrl Aug 10, 2022
a6c8919
add conda instructions to readme
leiterrl Aug 10, 2022
0f9121d
Fixed error in the result plotting script
timothypraditia Aug 11, 2022
fb4263f
Increased fontsize for plotting for better visibility
timothypraditia Aug 11, 2022
e3e86e6
debug for viscosity part by MT@16082022
Aug 16, 2022
488b3f7
Modified citation in the readme file
timothypraditia Aug 19, 2022
fe8f8cd
debugged utils.py initial condition parts by MT@22082022
Aug 22, 2022
c448885
Merge branch 'main' of https://github.com/pdebench/PDEBench into main
Aug 22, 2022
528779e
mode name consistency by MT@24082022
Aug 24, 2022
bbe86be
debug metrics.py of savez part by adding cpu() by MT@30082022
Aug 30, 2022
fbf93a9
Modified README to add temporary URL to the paper and the bibtex cita…
timothypraditia Sep 28, 2022
f84dcee
Merge branch 'main' of https://github.com/pdebench/PDEBench
timothypraditia Sep 28, 2022
29df54b
Update README.md
mniepert Oct 14, 2022
9d98143
Update README.md
mniepert Oct 14, 2022
6b178f7
Update README.md
mniepert Oct 14, 2022
a88b929
Update README.md
mniepert Oct 14, 2022
f88f109
Add files via upload
mniepert Oct 14, 2022
135cb28
Update README.md
mniepert Oct 14, 2022
5e7b83b
Update README.md
mniepert Oct 14, 2022
45e490c
Update README.md
mniepert Oct 14, 2022
99fbb7a
Updated the downloader script according to the updated easyDataverse …
timothypraditia Oct 18, 2022
044a823
Changed target time step for 'single' mode prediction for consistency…
timothypraditia Oct 28, 2022
e6c74d7
Fixed indentation in utils.py
timothypraditia Oct 28, 2022
17c1382
Fixed the typo in the bib citation in the README.md file
timothypraditia Nov 2, 2022
f8c8493
remove duplicate entry from README
leiterrl Nov 4, 2022
04f566d
Added initial draft of config documentation
timothypraditia Nov 14, 2022
6b6421a
Fixed broken link in the config doc file
timothypraditia Nov 14, 2022
d8d5850
Removed heading in the config file documentation
timothypraditia Nov 14, 2022
cbdeeed
add pinn info to config documentation
leiterrl Nov 14, 2022
92a8e23
add config files for 1D Adv/Bgs training
Nov 23, 2022
dfb8800
remove .idea folder
leiterrl Nov 24, 2022
0f78dd8
add .idea to gitignore
leiterrl Nov 24, 2022
a03648d
debugged for PINN pde1d byMT@24112022
Nov 24, 2022
fa0d8b8
Add new download script for easier data access
leiterrl Nov 25, 2022
c09984b
Require users to provide download path explicitly
leiterrl Nov 25, 2022
52e3330
Add data download readme
leiterrl Nov 25, 2022
911d7f2
update readme with data download details, fix private url issue
kmario23 Nov 25, 2022
6e82da9
add missing urls/metadata for 2d cfd train
kmario23 Nov 25, 2022
2f16710
update data download readme
kmario23 Nov 25, 2022
fe4eaa7
add tqdm progress bar for data downloads
kmario23 Nov 25, 2022
5d2bb95
update readme with partial dataset size
kmario23 Nov 26, 2022
f748c95
fix bug for diffusion-sorption dataset download
kmario23 Nov 26, 2022
8fdf710
Fixed division by zero bug in the analyze result forward plotting
timothypraditia Nov 28, 2022
e4817b5
Add initial draft of visualization script
leiterrl Nov 28, 2022
1652ac4
update readme with partial dataset size
kmario23 Nov 29, 2022
8a8083f
update readme with full dataset size
kmario23 Dec 1, 2022
4d2ddd1
Explicit licensing under MIT license with exceptions
Dec 12, 2022
a02d12a
Organisational affiliation for code developers
Dec 12, 2022
cb7c868
minor typos
Dec 12, 2022
0d55696
Merge pull request #23 from danmackinlay/contributor_info
danmackinlay Dec 13, 2022
4e68931
update bibtex URL
kmario23 Dec 13, 2022
067e07f
based on comment from nevoliu
falesiani Dec 15, 2022
c99e711
add directory tour
kmario23 Dec 15, 2022
7bfa5ea
Add workaround for parallel HDF5 writing:
leiterrl Dec 16, 2022
cf5c66f
Merge pull request #26 from pdebench/parallel_h5_workaround
timothypraditia Dec 16, 2022
00a62a3
Merge pull request #22 from danmackinlay/include_mit_license
leiterrl Dec 16, 2022
24d4aa3
modify visualization_pdes.py by MT@19122022
Dec 19, 2022
7b3f21f
modify visualization_pdes.py by MT@19122022
Dec 19, 2022
14cb398
Updated the config files for model training and the corresponding REA…
timothypraditia Dec 20, 2022
4994870
Sorted the config README based on problem dimension
timothypraditia Dec 20, 2022
7acbb2d
Fix pinn training problems:
leiterrl Dec 20, 2022
2456103
convert to absolute imports
leiterrl Dec 20, 2022
fcbaff1
improve visualization functionalities
kmario23 Dec 20, 2022
c1312eb
update viz readme
kmario23 Dec 20, 2022
1bdaa4b
modify default file of 3d-cfd in visualize_pdes.py bt MT@21122022
Dec 21, 2022
f0d3b38
modify default file of 3d-cfd in visualize_pdes.py bt MT@21122022
Dec 21, 2022
3e1ac16
add explanation for generating DarcyFlow data by MT@30012023
Jan 30, 2023
d004501
erasing run_trainset_2D.sh in ReactionDiffusionEq by MT@30012023
Jan 30, 2023
bb36a36
add readme for darcy data generation
kmario23 Feb 24, 2023
1b78258
update readme with data gen info, add arXiv link
kmario23 Feb 24, 2023
f5a4f0a
modifying:MSE->RMSE in metric.py by MT@23032023
Mar 23, 2023
09ba7c0
Merge branch 'main' of https://github.com/pdebench/PDEBench into main
Mar 23, 2023
aa8d79c
debug in metric.py by MT@20042023
Apr 20, 2023
7313816
edit run_forward_1D.sh by MT@24042023
Apr 24, 2023
c0a622c
update config & training script (addressing #34)
kmario23 May 28, 2023
3c21d40
update darcy config & training script (addressing #34)
kmario23 May 28, 2023
f50c1bf
update gitignore
kmario23 May 28, 2023
79f7a6d
Update README.md
kmario23 May 31, 2023
331b96a
fix deepxde interfering with other training routines
leiterrl Jun 20, 2023
5ad4c0f
add award info
kmario23 Jul 22, 2023
a3eb903
update data download urls
kmario23 Jul 22, 2023
cacd7fd
fix minor typo in shape
kmario23 Aug 21, 2023
b76c9f1
Add proper configuration for building (#47)
leiterrl Aug 24, 2023
f9fd131
minor revamp of readme
kmario23 Aug 24, 2023
524848f
fix scaling issue for 1D advection (#46)
kmario23 Aug 24, 2023
1bd5efc
Add missing base_path to unet (#49)
arthurfeeney Sep 27, 2023
4361430
update 1d adv pde dataset urls
kmario23 Oct 10, 2023
5f19987
debugged BurgersEq with changing xlim:(-1,1)-->(0,1) by MT@31102023
Oct 31, 2023
bde54cb
add support for SWE 2D PDE
kmario23 Nov 7, 2023
107bc02
Revert "add support for SWE 2D PDE"
kmario23 Nov 7, 2023
8ab2e0c
update SWE-2D config
kmario23 Nov 7, 2023
8ddd2d0
add dataloading support for SWE-2D
kmario23 Nov 7, 2023
931bea2
test run for SWE-2D
kmario23 Nov 7, 2023
feba8fb
addresses #52
kmario23 Nov 7, 2023
320641b
add explicit indexing scheme for future torch upgrades (https://githu…
kmario23 Nov 13, 2023
bf6a33b
update DARUS dataset urls of missing & new files
kmario23 Feb 12, 2024
dcc94b8
fix data download urls csv
kmario23 Apr 2, 2024
851fbf2
add vcnef citation details
kmario23 May 11, 2024
7acb994
remove extra dimensions in data merge
kmario23 May 14, 2024
7b2c3a2
Update README.md
kmario23 Oct 2, 2024
b470a48
reshape jnp arrays before saving, check dir
kmario23 Oct 2, 2024
219e544
update steps for 1D data generation
kmario23 Oct 2, 2024
b11eab3
update steps for 1D PDE data generation
kmario23 Oct 2, 2024
e58e698
update grid var to post subsampling
kmario23 Oct 3, 2024
9174a50
(feature): Approximate vorticity fields using velocity data. Include …
greinerth Oct 20, 2024
aa0bf12
fix typo of ReactDiff 2D domain
kmario23 Oct 20, 2024
79396f2
remove duplicate key
kmario23 Oct 20, 2024
9942bdd
remove extra trailing slash
kmario23 Oct 20, 2024
c4b3001
comply with ruff for download_direct.py
kmario23 Oct 20, 2024
6b23c01
comply with ruff linter
kmario23 Oct 20, 2024
be93f68
comply with ruff linter
kmario23 Oct 20, 2024
dc19ad9
comply with ruff linter
kmario23 Oct 20, 2024
0df2b74
comply with ruff linter
kmario23 Oct 20, 2024
da2d938
update darcy config
kmario23 Oct 20, 2024
1c2d564
comply with ruff linter
kmario23 Oct 20, 2024
a60ec47
comply with ruff linter
kmario23 Oct 20, 2024
663dadb
comply with ruff linter
kmario23 Oct 20, 2024
1a83119
comply with ruff linter
kmario23 Oct 20, 2024
9f3ca2b
fix metrics addressing #41 and more
kmario23 Oct 21, 2024
7c26040
manually fix linter warnings throught repository
leiterrl Dec 18, 2024
153207c
unify logger usage
leiterrl Dec 18, 2024
8985536
fix more linting issues
leiterrl Dec 18, 2024
6bd9802
fix remaing linter warnings
leiterrl Dec 18, 2024
d563803
apply formatting
leiterrl Dec 18, 2024
29dfedf
remove unnecessary noqa
leiterrl Dec 28, 2024
d2ff5e5
add noxfile
leiterrl Dec 28, 2024
0cb1e07
disable mypy, fix more warnings
leiterrl Dec 28, 2024
7da8b79
Merge pull request #81 from pdebench/fix/linter_warnings
leiterrl Dec 28, 2024
0c76ad2
Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.12.3
dependabot[bot] Dec 28, 2024
687589c
Merge pull request #80 from pdebench/dependabot/github_actions/pypa/g…
leiterrl Dec 28, 2024
0cba3b8
Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4
dependabot[bot] Jan 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "Python 3",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:1-3.10-bookworm",

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

"runArgs": ["--gpus", "all"],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "sudo apt update -y && sudo apt upgrade -y && sudo apt install gfortran -y && pip3 install --user -e .[dev,test,datagen310]"

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for more information:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://containers.dev/guide/dependabot

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
14 changes: 14 additions & 0 deletions .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: pre-commit

on:
pull_request:
push:
branches: [main]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/[email protected]
33 changes: 33 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Python package

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --user -e .[test]
- name: Lint and test with nox
run: |
# stop the build if there are Python syntax errors or undefined names
nox -s pylint tests
38 changes: 38 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Upload Python Package

on:
release:
types: [published]

permissions:
contents: read

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ cython_debug/
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
.idea/

#linters and ...
.vscode/
Expand All @@ -175,3 +175,7 @@ debug/

# macos
.DS_Store

# neural net, sciml artefacts
.pt
.hdf5
88 changes: 88 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
ci:
autoupdate_commit_msg: "chore: update pre-commit hooks"
autofix_commit_msg: "style: pre-commit fixes"

repos:
- repo: https://github.com/adamchainz/blacken-docs
rev: "1.16.0"
hooks:
- id: blacken-docs
additional_dependencies: [black==23.*]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.5.0"
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: mixed-line-ending
- id: name-tests-test
args: ["--pytest-test-first"]
- id: requirements-txt-fixer
- id: trailing-whitespace

- repo: https://github.com/pre-commit/pygrep-hooks
rev: "v1.10.0"
hooks:
- id: rst-backticks
- id: rst-directive-colons
- id: rst-inline-touching-normal

- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.1.0"
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
args: [--prose-wrap=always]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.8.4"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
- id: ruff-format

# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: "v1.8.0"
# hooks:
# - id: mypy
# files: pdebench|tests
# args: []
# additional_dependencies:
# - pytest

- repo: https://github.com/codespell-project/codespell
rev: "v2.2.6"
hooks:
- id: codespell
exclude_types: [jupyter]

- repo: https://github.com/shellcheck-py/shellcheck-py
rev: "v0.10.0.1"
hooks:
- id: shellcheck

- repo: local
hooks:
- id: disallow-caps
name: Disallow improper capitalization
language: pygrep
entry: PyBind|Numpy|Cmake|CCache|Github|PyTest
exclude: .pre-commit-config.yaml

- repo: https://github.com/abravalheri/validate-pyproject
rev: "v0.16"
hooks:
- id: validate-pyproject
additional_dependencies: ["validate-pyproject-schema-store[all]"]

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: "0.27.3"
hooks:
- id: check-dependabot
- id: check-github-workflows
- id: check-readthedocs
9 changes: 9 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Except where otherwise stated this code is released under the MIT license.

Copyright 2022 NEC Labs Europe GmbH, Stuttgart University, CSIRO and PDEbench contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Loading
Loading