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

Added Averaging Neural Operator with tests and a tutorial #230

Merged
merged 29 commits into from
Mar 5, 2024

Conversation

guglielmopadula
Copy link
Member

Added Averaging Neural Operator with tests and a tutorial
(details about the model are in https://arxiv.org/abs/2304.13221)

@ndem0 ndem0 changed the base branch from master to 0.2 February 9, 2024 10:22
@ndem0 ndem0 changed the base branch from 0.2 to master February 9, 2024 10:30
pina/model/avno.py Outdated Show resolved Hide resolved
pina/model/avno.py Outdated Show resolved Hide resolved
tutorials/tutorial9/tutorial.py Outdated Show resolved Hide resolved
pina/model/avno.py Outdated Show resolved Hide resolved
tests/test_model/test_avno.py Show resolved Hide resolved
tutorials/tutorial9/tutorial.py Outdated Show resolved Hide resolved
@guglielmopadula guglielmopadula marked this pull request as ready for review February 17, 2024 17:12
@dario-coscia dario-coscia added enhancement New feature or request pr-to-fix Label for PR that needs modification labels Feb 20, 2024
@dario-coscia
Copy link
Collaborator

Please look at #239 for using the same strategy. Also use AVNOBlock rather than AVNOLayer

pina/model/avno.py Outdated Show resolved Hide resolved
tutorials/tutorial9/tutorial.py Outdated Show resolved Hide resolved
tutorials/tutorial9/tutorial.py Outdated Show resolved Hide resolved
pina/model/avno.py Outdated Show resolved Hide resolved
pina/model/avno.py Outdated Show resolved Hide resolved
pina/model/avno.py Outdated Show resolved Hide resolved
tests/test_model/test_avno.py Outdated Show resolved Hide resolved
pina/model/avno.py Outdated Show resolved Hide resolved
tests/test_model/test_avno.py Show resolved Hide resolved
pina/model/avno.py Outdated Show resolved Hide resolved
pina/model/avno.py Outdated Show resolved Hide resolved
pina/model/layers/avno.py Outdated Show resolved Hide resolved
pina/model/layers/avno.py Outdated Show resolved Hide resolved
pina/model/layers/avno.py Outdated Show resolved Hide resolved
pina/model/layers/avno.py Outdated Show resolved Hide resolved
pina/model/layers/avno.py Outdated Show resolved Hide resolved
pina/model/avno.py Outdated Show resolved Hide resolved
pina/model/avno.py Outdated Show resolved Hide resolved
pina/model/avno.py Outdated Show resolved Hide resolved
pina/model/layers/__init__.py Outdated Show resolved Hide resolved
pina/model/layers/avno.py Outdated Show resolved Hide resolved
tutorials/tutorial10/tutorial.py Outdated Show resolved Hide resolved
@guglielmopadula
Copy link
Member Author

Only remaining issue is codacy complaining about the AVNOBlock class having too few public methods, which I think is unfixable.

@ndem0
Copy link
Member

ndem0 commented Mar 4, 2024

What's the status here?

@guglielmopadula guglielmopadula force-pushed the master branch 2 times, most recently from dbe389c to 377dae8 Compare March 4, 2024 20:00
@dario-coscia
Copy link
Collaborator

Very good! I will make some minor changes and then we can merge!

@ndem0 ndem0 requested a review from dario-coscia March 5, 2024 09:44
@dario-coscia dario-coscia added pr-to-review Label for PR that are ready to been reviewed and removed pr-to-fix Label for PR that needs modification labels Mar 5, 2024
@dario-coscia
Copy link
Collaborator

@ndem0 for me everything is ok, @guglielmopadula did an amazing job! I made some minor corrections (checking the type of the input objects, and modifying a bit the doc to make it consistent with the package). Ready to go!

@ndem0 ndem0 merged commit 43f6924 into mathLab:master Mar 5, 2024
15 of 16 checks passed
AleDinve pushed a commit to AleDinve/PINA that referenced this pull request Mar 25, 2024
* add Averaging Neural Operator with tests
* add backward test
* minor changes
* doc addition

---------

Co-authored-by: Dario Coscia <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pr-to-review Label for PR that are ready to been reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants