Commit Graph

40 Commits

Author SHA1 Message Date
Filippo Olivo
a27bd35443 Implementation of DataLoader and DataModule (#383)
Refactoring for 0.2
* Data module, data loader and dataset
* Refactor LabelTensor
* Refactor solvers

Co-authored-by: dario-coscia <dariocos99@gmail.com>
2025-03-19 17:46:34 +01:00
Nicola Demo
f0d68b34c7 refact 2025-03-19 17:46:33 +01:00
github-actions[bot]
f0bff2438b 🎨 Format Python code with psf/black (#452) 2025-02-15 15:45:42 +01:00
Anna Ivagnes
c28a4bd2b9 Change SVD type in pod.py (#449)
* Change SVD type in pod.py
2025-02-14 19:13:09 +01:00
github-actions[bot]
1aca017e1d 🎨 Format Python code with psf/black (#333)
Co-authored-by: ndem0 <ndem0@users.noreply.github.com>
2024-09-03 16:53:39 +02:00
Dario Coscia
eea0cc0833 Backpropagation and fix test for OrthogonalBlock
Co-authored-by: Dario Coscia <dariocos99@gmail.com>
    Co-authored-by: Gabriele Codega <gcodega@pascal.maths.sissa.it>
2024-09-03 16:51:10 +02:00
ndem0
59fc19798f 🎨 Format Python code with psf/black 2024-08-27 14:36:24 +02:00
Nicola Demo
68f5521476 Update orthogonal.py 2024-08-26 14:14:09 +02:00
ndem0
a1e041c1f0 🎨 Format Python code with psf/black 2024-08-26 14:14:09 +02:00
Anna Ivagnes
62d50e2455 add OrthogonalBlock to make input orthonormal 2024-08-26 10:48:59 +02:00
github-actions[bot]
5445559cb2 Format Python code with psf/black push (#325)
* 🎨 Format Python code with psf/black
2024-08-12 18:30:46 +02:00
Anna Ivagnes
d4ced3a7d7 Add layer to perform RBF interpolation in reduced order modeling (#315)
* add RBF implementation in pytorch (in layers)
* add POD-RBF example (baseline for nonintrusive closure)
* Add POD only and POD+RBF implementation
* add POD-RBF in tutorial 8
2024-08-12 14:46:22 +02:00
Dario Coscia
f9316e359a gpu fourierembedding (#313)
Adding gpu to fourier embedding
2024-06-27 17:36:54 +02:00
ndem0
7634d22ca7 🎨 Format Python code with psf/black 2024-06-11 14:15:09 +01:00
Monthly Tag bot
e514969a43 * Adding title kwarg for plotter class
* Create tutorial for Fourier Feature Embedding
* Update doc for tutorials
2024-06-11 12:31:02 +01:00
Monthly Tag bot
4b64998f45 fix embedding by removing linear layer 2024-06-11 12:31:02 +01:00
Monthly Tag bot
5785b2732c * Fourier feature embedding added, and modify typos in doc Periodic Boundary Embedding.
* Fixing doc for Periodic Boundary Embedding.
* Creating doc for Fourier Feature Embedding.
2024-06-11 12:31:02 +01:00
ndem0
e2d000ab22 🎨 Format Python code with psf/black 2024-04-09 08:43:48 +01:00
Dario Coscia
4f5d9559b2 fixing adaptive functions 2024-04-08 16:17:57 +01:00
ndem0
14dfa62402 🎨 Format Python code with psf/black 2024-04-02 09:25:30 +01:00
Dario Coscia
766856494a Low Rank Neural Operator (#270)
* add the Low Rank Neural Operator as Model
* add the Low Rank Layer as Layer
* adding tests
* adding doc 

---------

Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local>
Co-authored-by: Nicola Demo <demo.nicola@gmail.com>
2024-04-02 10:24:23 +02:00
github-actions[bot]
1d1d767317 Format Python code with psf/black push (#273)
* 🎨 Format Python code with psf/black

---------

Co-authored-by: ndem0 <ndem0@users.noreply.github.com>
Co-authored-by: Nicola Demo <demo.nicola@gmail.com>
2024-04-02 10:17:45 +02:00
Dario Coscia
cddb191fe4 Adaptive Functions (#272)
* adaptive function improvement

---------

Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local>
2024-04-02 10:11:10 +02:00
ndem0
3d72205380 🎨 Format Python code with psf/black 2024-03-05 16:02:07 +01:00
guglielmopadula
43f69242ab Add Averaging Neural Operator with tests and a tutorial (#230)
* add Averaging Neural Operator with tests
* add backward test
* minor changes
* doc addition

---------

Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local>
2024-03-05 12:30:53 +01:00
ndem0
22ceee1755 🎨 Format Python code with psf/black 2024-03-01 18:17:34 +01:00
Dario Coscia
4cfd90b904 PBC Layer (#252)
* update docs/tests
* tutorial and device fix

---------

Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local>
Co-authored-by: Dario Coscia <dariocoscia@dhcp-015.eduroam.sissa.it>
Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.lan>
Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.Home>
2024-03-01 18:15:45 +01:00
Dario Coscia
c92a2832d5 Change PODLayer name (#251)
* rename PODBlock
* add tutorial rst

---------

Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local>
Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.lan>
2024-02-29 16:01:01 +01:00
ndem0
cbb43a5392 🎨 Format Python code with psf/black 2024-02-09 15:11:51 +01:00
Nicola Demo
eed9d7ded3 Doc and tutorial for PODLayer 2023-12-27 16:14:11 +01:00
Nicola Demo
c656317055 pod layer 2023-12-27 16:14:11 +01:00
Dario Coscia
8b7b61b3bd Documentation for v0.1 version (#199)
* Adding Equations, solving typos
* improve _code.rst
* the team rst and restuctore index.rst
* fixing errors

---------

Co-authored-by: Dario Coscia <dariocoscia@dhcp-015.eduroam.sissa.it>
2023-11-17 09:51:29 +01:00
Dario Coscia
17464ceca9 New Residual Model and Fix relative import
* Adding Residual MLP
* Adding test Residual MLP
* Modified relative import Continuous Conv
2023-11-17 09:51:29 +01:00
Dario Coscia
603f56d264 Neural Operator fix and addition
* Building FNO for 1D/2D/3D data
* Fixing bug in trunk/branch net in DeepONEt
* Fixing type check bug in spectral conv
* Adding tests for FNO
* Fixing bug in Fourier Layer (conv1d/2d/3d)
2023-11-17 09:51:29 +01:00
Dario Coscia
83ecdb0eab Fourier Block and minor fixes
* Adding fourier block 1d/2d/3d
* Adding docs to SpectralConvBlock1D/2D/3D and to FourierBlock1D/2D/3D
* Adding tests for fourier block
2023-11-17 09:51:29 +01:00
Dario Coscia
b7f9694cb9 Spectral Convolution Addition
* Implementing 1D/2D/3D spectral conv
* Implementing tests for 1D/2D/3d spectral conv
2023-11-17 09:51:29 +01:00
Dario Coscia
15ecaacb7c Layers and Models update PR
* add residual block
* add test conv and residual block
* modify FFN kwargs
2023-11-17 09:51:29 +01:00
SpartaKushK
625a77c0d5 Codacy Small Bug Fixes:
- cleaned up imports
- cleaned up some code
- added docstrings
2023-11-17 09:51:29 +01:00
Dario Coscia
74c48259fe Update convolution.py (#75) 2023-03-16 17:46:58 +01:00
Dario Coscia
0bcaf62e59 Continuous Convolution (#69)
* network handling update
* adding tutorial
* docs
2023-02-27 10:59:18 +01:00