Giovanni Canali
a78f44ecef
Fixing Laplacian operator for vector fields ( #380 )
...
* fix laplacian and tests
2024-11-18 17:25:34 +01:00
Anna Ivagnes
5d2ca62e65
add multiple outputs possibility in DeepONet
2024-10-10 18:36:47 +02:00
Nicola Demo
4c5cb8f681
add spline model ( #321 )
...
* add spline model
* add tests for splines
* rst files for splines
---------
Co-authored-by: AleDinve <giuseppealessio.d@student.unisi.it >
Co-authored-by: dario-coscia <dariocos99@gmail.com >
2024-09-27 10:05:18 +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
Anna Ivagnes
62d50e2455
add OrthogonalBlock to make input orthonormal
2024-08-26 10:48:59 +02:00
dario-coscia
cce9876751
* Fixing mean tracked loss
...
* Adding a PINA progress bar
2024-08-12 14:48:09 +02:00
dario-coscia
0fa4e1e58a
* Adding a test for all PINN solvers to assert that the metrics are correctly log
...
* Adding test for Metric Tracker
* Modify Metric Tracker to correctly log metrics
2024-08-12 14:48:09 +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
luAndre00
16261c9baf
Change default reduction in SystemEquation ( #317 )
...
* Update system_equation.py
* Update test_systemequation.py
2024-08-01 17:47:51 +02:00
Gabriele Codega
c7973a97da
Fix bug in add_points method
...
* solving `add_points`
---------
Co-authored-by: Gabriele Codega <gcodega@pascal.maths.sissa.it >
2024-06-20 12:57:46 +02:00
Giovanni_Canali
35fd119a37
added rba-pinn ( #308 )
...
* added rba-pinn
* changes to loss logger
* tests
* doc
---------
Co-authored-by: Monthly Tag bot <mtbot@noreply.github.com >
Co-authored-by: Nicola Demo <demo.nicola@gmail.com >
2024-06-18 16:17:04 +02: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
Michele Alessi
5f89968805
adaptive refinement callback ( #299 )
...
Fixed problem of non-constant number of points
2024-05-21 09:51:13 +02:00
Dario Coscia
a72ce67873
fixing bug ( #300 )
...
Co-authored-by: Monthly Tag bot <mtbot@noreply.github.com >
2024-05-20 17:45:44 +02:00
Dario Coscia
e0429bb445
PINN variants addition and Solvers Update ( #263 )
...
* gpinn/basepinn new classes, pinn restructure
* codacy fix gpinn/basepinn/pinn
* inverse problem fix
* Causal PINN (#267 )
* fix GPU training in inverse problem (#283 )
* Create a `compute_residual` attribute for `PINNInterface`
* Modify dataloading in solvers (#286 )
* Modify PINNInterface by removing _loss_phys, _loss_data
* Adding in PINNInterface a variable to track the current condition during training
* Modify GPINN,PINN,CausalPINN to match changes in PINNInterface
* Competitive Pinn Addition (#288 )
* fixing after rebase/ fix loss
* fixing final issues
---------
Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local >
* Modify min max formulation to max min for paper consistency
* Adding SAPINN solver (#291 )
* rom solver
* fix import
---------
Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local >
Co-authored-by: Anna Ivagnes <75523024+annaivagnes@users.noreply.github.com >
Co-authored-by: valc89 <103250118+valc89@users.noreply.github.com >
Co-authored-by: Monthly Tag bot <mtbot@noreply.github.com >
Co-authored-by: Nicola Demo <demo.nicola@gmail.com >
2024-05-10 14:07:01 +02:00
Dario Coscia
0e98abf204
Update label_tensor.py cpu/gpu ( #292 )
...
* Update label_tensor.py cpu/gpu
* Update test_adaptive_refinment_callbacks.py
* Update test_optimizer_callbacks.py
2024-04-30 18:52:09 +02:00
Dario Coscia
4f5d9559b2
fixing adaptive functions
2024-04-08 16:17:57 +01:00
Dario Coscia
5c50906771
R3Refinment double precision training fix ( #277 )
...
* r3 ref double precision fix
* fix label missing
---------
Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local >
Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.Home >
2024-04-04 14:41:49 +02: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
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
Dario Coscia
98f7694d6f
tut10
2024-03-20 14:18:50 +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
Dario Coscia
15136e13f8
fix test PeriodicBoundaryEmbedding ( #257 )
...
* fix test PeriodicBoundaryEmbedding
* fix tests
2024-03-04 11:50:27 +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
Dario Coscia
e516e779f9
Unifying integral kernel NO architectures ( #239 )
...
* Unify integral kernel NO architectures with NeuralKernelOperator
* Implement FNO based on NeuralKernelOperator
* modify doc for FNO and add for FourierIntegralKernel, NeuralKernelOperator
* adding tests
---------
Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local >
Co-authored-by: Dario Coscia <dariocoscia@dhcp-015.eduroam.sissa.it >
2024-02-21 11:15:40 +01:00
cyberguli
eb1af0b50e
add models and layers backward test
2024-02-21 09:46:42 +01:00
Dario Coscia
513144dfaf
modify 3d plot/ adding tests
2024-02-07 11:41:37 +01:00
Nicola Demo
c656317055
pod layer
2023-12-27 16:14:11 +01:00
Dario Coscia
a9f14ac323
fix bug network
2023-11-17 09:51:29 +01:00
Dario Coscia
09d013e8fc
adding test supervised solver
2023-11-17 09:51:29 +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
Nicola Demo
d654259428
add dataset and dataloader for sample points ( #195 )
...
* add dataset and dataloader for sample points
* unittests
2023-11-17 09:51:29 +01:00
Dario Coscia
cd5bc9a558
Label Tensor update ( #188 )
...
* Update test_label_tensor.py
* adding test
---------
Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local >
2023-11-17 09:51:29 +01:00
Dario Coscia
ead952da6f
solving dimensions issue
2023-11-17 09:51:29 +01:00
Dario Coscia
cc3332b519
Loss Fixing #182 ( #184 )
...
* fix doc loss + adding PowerLoss
* adding loss tests folder
---------
Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local >
2023-11-17 09:51:29 +01:00
Dario Coscia
4850b0045d
Solving #179 Simplex Domain Bug ( #180 )
...
* simplex bug solved
---------
Co-authored-by: Dario Coscia <dariocoscia@dhcp-235.eduroam.sissa.it >
2023-11-17 09:51:29 +01:00
Dario Coscia
1936133ad5
minor fix
2023-11-17 09:51:29 +01:00
Dario Coscia
5a4c114d48
variable name fix FeedForward model
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
ba7371f350
MIONet addition and DeepONet modification.
...
* Create MIONet base class
* DeepONet inherits from MIONet
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
190ee0561d
minor fixes deeponet, remove LabelTensor import
2023-11-17 09:51:29 +01:00
Dario Coscia
b029f18c49
DeepOnet implementation, LabelTensor modification
...
* Implementing standard DeepOnet (trunk/branch net)
* Implementing multiple reduction/ average techniques
* Small change LabelTensor __getitem__ for handling list
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
Nicola Demo
8c16e27ae4
Update test_pinn.py
2023-11-17 09:51:29 +01:00
Nicola Demo
e84def3bf9
Trainer train simplified, tests for load ( #168 )
...
- the arguments of Trainer.train now are passed to the fit
- unittest for load/restoring from checkpoint
2023-11-17 09:51:29 +01:00