Commit Graph

223 Commits

Author SHA1 Message Date
FilippoOlivo
ccc5f5a322 Add Graph support in Dataset and Dataloader 2025-03-19 17:46:34 +01:00
FilippoOlivo
eb146ea2ea Fix bug and improve __getitem__ 2025-03-19 17:46:33 +01:00
FilippoOlivo
3e30450e9a Correct codacy warnings 2025-03-19 17:46:33 +01:00
FilippoOlivo
1bc1b3a580 Correct codacy warnings 2025-03-19 17:46:33 +01:00
FilippoOlivo
c9304fb9bb Implement Dataset, Dataloader and DataModule class and fix SupervisedSolver 2025-03-19 17:46:33 +01:00
Dario Coscia
b9753c34b2 minor changes/ trainer update 2025-03-19 17:46:33 +01:00
Filippo Olivo
7528f6ef74 Update of LabelTensor class and fix Simplex domain (#362)
*Implement new methods in LabelTensor and fix operators
2025-03-19 17:46:33 +01:00
Dario Coscia
fdb8f65143 Filippo0.2 (#361)
* Add summation and remove deepcopy (only for tensors) in LabelTensor class
* Update operators for compatibility with updated LabelTensor implementation
* Implement labels.setter in LabelTensor class
* Update LabelTensor

---------

Co-authored-by: FilippoOlivo <filippo@filippoolivo.com>
2025-03-19 17:46:33 +01:00
Dario Coscia
1d3df2a127 update condition_interface 2025-03-19 17:46:33 +01:00
Dario Coscia
1bd3f40f54 * Adding Collector for handling data sampling/collection before dataset/dataloader
* Modify domain by adding sample_mode, variables as property
* Small change concatenate -> cat in lno/avno
* Create different factory classes for conditions
2025-03-19 17:46:33 +01:00
Dario Coscia
aef5a5d590 sampling mode domain added 2025-03-19 17:46:33 +01:00
Dario Coscia
fd16fcf9b4 new conditions 2025-03-19 17:46:33 +01:00
FilippoOlivo
16351f95ae Minor update on docstring in LabelTensor class 2025-03-19 17:46:33 +01:00
FilippoOlivo
0353ffdd0f Update docstring in LabelTensor class 2025-03-19 17:46:33 +01:00
FilippoOlivo
c53c3d5b84 Implement definition of LabelTensor from list, implement cat method (previously stack) and re-implement extract 2025-03-19 17:46:33 +01:00
FilippoOlivo
a779007b36 Update __init__.py in pina folder 2025-03-19 17:46:33 +01:00
FilippoOlivo
a529241580 Delete useless classes (move into optim folder) 2025-03-19 17:46:33 +01:00
FilippoOlivo
2be57944ba Fix SupervisedSolver GPU bug and implement GraphSolver (#346)
* Fix some bugs
* Solve bug with GPU and model_summary parameters in SupervisedSolver class
* Implement GraphSolver class
* Fix Tutorial 5
2025-03-19 17:46:33 +01:00
FilippoOlivo
30f865d912 Fix bugs in 0.2 (#344)
* Fix some bugs
2025-03-19 17:46:33 +01:00
Nicola Demo
f0d68b34c7 refact 2025-03-19 17:46:33 +01:00
Nicola Demo
9d9c2aa23e supervised working 2025-03-19 17:46:33 +01:00
Nicola Demo
5245a0b68c refact 2025-03-19 17:46:33 +01:00
Nicola Demo
686b557144 minor 2025-03-19 17:46:33 +01:00
Nicola Demo
b7d512e8bf optimizer and scheduler classes 2025-03-19 17:46:33 +01:00
Nicola Demo
2b71e0148d in progress 2025-03-19 17:46:33 +01:00
Nicola Demo
a3d88893d1 Update version 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]
d94256fac4 🎨 Format Python code with psf/black (#390)
Co-authored-by: ndem0 <ndem0@users.noreply.github.com>
Co-authored-by: dcoscia <dariocos99@gmail.com>
2024-12-12 17:25:25 +01:00
Dario Coscia
23bc40924f sorted variables 2024-12-11 17:54:42 +01:00
github-actions[bot]
b896a2a074 🎨 Format Python code with psf/black (#381)
Co-authored-by: dario-coscia <dario-coscia@users.noreply.github.com>
2024-11-18 17:35:15 +01:00
Giovanni Canali
a78f44ecef Fixing Laplacian operator for vector fields (#380)
* fix laplacian and tests
2024-11-18 17:25:34 +01:00
ndem0
1f6ea277ad 🎨 Format Python code with psf/black 2024-10-10 18:47:22 +02:00
Giovanni_Canali
53605d5a09 initialize self-adaptive weights to 0 (#358) 2024-10-10 18:46:07 +02:00
Dario Coscia
801b6b8d34 Update RBAPINN 2024-10-10 18:46:07 +02:00
Anna Ivagnes
5d2ca62e65 add multiple outputs possibility in DeepONet 2024-10-10 18:36:47 +02:00
Dario Coscia
24317b6fa7 doc update 2024-10-10 18:25:18 +02:00
github-actions[bot]
f812d87727 🎨 Format Python code with psf/black (#348) 2024-09-27 10:35:37 +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
fefba81034 Version 0.1.2 (#336) 2024-09-03 19:00:41 +02: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
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