giovanni
d51de028bd
update test laplacian
2025-03-19 17:46:34 +01:00
Nicola Demo
f2340cd4ee
fix some tests
2025-03-19 17:46:34 +01:00
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
FilippoOlivo
dd43c8304c
Codacy correction
2025-03-19 17:46:34 +01:00
FilippoOlivo
ea3d1924e7
Improve efficiency and refact LabelTensor, codacy correction and fix bug in PinaBatch
2025-03-19 17:46:34 +01:00
FilippoOlivo
ccc5f5a322
Add Graph support in Dataset and Dataloader
2025-03-19 17:46:34 +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
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
FilippoOlivo
a888141707
Add concatenation test for LabelTensor
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
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
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
Anna Ivagnes
c28a4bd2b9
Change SVD type in pod.py ( #449 )
...
* Change SVD type in pod.py
2025-02-14 19:13:09 +01:00
Giovanni Canali
5e36d1b618
Additional tests for operators ( #384 )
...
* Adding tests for operators
2024-11-25 17:16:17 +01:00
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