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 #6

Closed
wants to merge 15 commits into from

Conversation

m4e7
Copy link
Owner

@m4e7 m4e7 commented Aug 25, 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.

Based on top of #5

Reviewer(s): @zongyi-li @JeanKossaifi

[1] plot_burgers.html.gz

JeanKossaifi and others added 13 commits August 30, 2023 08:23
…datasets

Reformat `datasets/` directory with `black`
PEP8, and condense documentation for FNO classes
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.
@m4e7
Copy link
Owner Author

m4e7 commented Sep 5, 2023

Closing in favor of neuraloperator#211

@m4e7 m4e7 closed this Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants