Commit Graph

183 Commits

Author SHA1 Message Date
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
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
Dario Coscia
f9316e359a gpu fourierembedding (#313)
Adding gpu to fourier embedding
2024-06-27 17:36:54 +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
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
Dario Coscia
89ee010a94 Update feed_forward.py (#305) 2024-06-07 18:07:24 +02:00
github-actions[bot]
aef134cfb3 🎨 Format Python code with psf/black (#301)
Co-authored-by: ndem0 <ndem0@users.noreply.github.com>
2024-05-21 10:34:11 +02: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
Nicola Demo
0587e74029 version 0.1.1 2024-05-11 10:00:33 +02:00
github-actions[bot]
9463ae4b15 🎨 Format Python code with psf/black (#297)
Co-authored-by: dario-coscia <dario-coscia@users.noreply.github.com>
2024-05-10 14:08:01 +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
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
50fb3b731c 🎨 Format Python code with psf/black 2024-04-04 14:06:33 +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
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
Dario Coscia
e0aeb923f3 Trainer Tutorial (#271)
* adding tutorial trainer
* implementing deepcopy for AbstractProblem and LabelTensor to match Lightning Callbacks

---------

Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local>
2024-04-02 10:22:30 +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
6bc8d81a5c 🎨 Format Python code with psf/black 2024-03-20 14:20:59 +01:00
Dario Coscia
98f7694d6f tut10 2024-03-20 14:18:50 +01: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
Giuseppe Alessio D'Inverno
b10e02103b Fixing tutorials grammar (#242)
* grammar check and sparse rephrasing
* rst created
* meta copyright adjusted
2024-03-05 10:43:34 +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
c2529d325a 🎨 Format Python code with psf/black 2024-02-22 17:06:25 +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
ndem0
cbb43a5392 🎨 Format Python code with psf/black 2024-02-09 15:11:51 +01:00
Nicola Demo
6cfb8fd28b Update python versions
* Update meta.py
* Update testing_pr.yml
2024-02-07 16:14:46 +01:00
Dario Coscia
b38c640c4d fix codacy 2024-02-07 11:41:37 +01:00
Dario Coscia
513144dfaf modify 3d plot/ adding tests 2024-02-07 11:41:37 +01:00
Dario Coscia
927dbcf91e plotter update 2024-02-07 11:41:37 +01:00