Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example .py file for 1D Burgers problem #211

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

m4e7
Copy link
Contributor

@m4e7 m4e7 commented Sep 5, 2023

Migrate the example file fourier_1d.py from the old master branch to main:examples as plot_burgers.py [1].

  • Add .npz loader utilities to the datasets/ module. Reshape the old data for the newest version of the library.
  • Add support to layers/ for float64 and complex128 numbers.

Reviewer(s): @zongyi-li @JeanKossaifi

[1] plot_burgers.html.gz

Add named variables and comments. This prefers shorter but more expressions
over fewer but longer ones.
This example is an updated version of the 1D Burgers problem described in the
FNO paper (2021). It uses the current version of the library for instantiation
and training of an FNO model.
@JeanKossaifi
Copy link
Member

The tests seem to fail @m4e7

Additionally, run `black test_fno.py`
@m4e7
Copy link
Contributor Author

m4e7 commented Sep 8, 2023

The tests seem to fail @m4e7

Fixed. There was a bad typing annotation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants