Commit Graph

16 Commits

Author SHA1 Message Date
Dario Coscia
9cae9a438f Update solvers (#434)
* Enable DDP training with batch_size=None and add validity check for split sizes
* Refactoring SolverInterfaces (#435)
* Solver update + weighting
* Updating PINN for 0.2
* Modify GAROM + tests
* Adding more versatile loggers
* Disable compilation when running on Windows
* Fix tests

---------

Co-authored-by: giovanni <giovanni.canali98@yahoo.it>
Co-authored-by: FilippoOlivo <filippo@filippoolivo.com>
2025-03-19 17:46:35 +01:00
Nicola Demo
a899327de1 fix 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
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
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
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
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
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
Pasquale Africa
6c627c70e3 Rename nabla -> laplacian 2023-11-17 09:51:29 +01:00
Dario Coscia
92e0e4920b CPU/GPU/TPU training (#159)
* device training

---------

Co-authored-by: Dario Coscia <dcoscia@lovelace.maths.sissa.it>
Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local>
2023-11-17 09:51:29 +01:00
Dario Coscia
09f04008b5 adding tests 2023-11-17 09:51:29 +01:00
Nicola Demo
f57a08b875 device for sample points in absProblem (#132)
* device for sample points in absProblem
2023-11-17 09:51:29 +01:00
Dario Coscia
701046661f Solvers for multiple models (#133)
* Solvers for multiple models
- Implementing the possibility to add multiple models for solvers (e.g. GAN)
- Implementing GAROM solver, see https://arxiv.org/abs/2305.15881
- Implementing tests for GAROM solver (cpu only)
- Fixing docs PINNs
- Creating a solver directory, for consistency in the package


---------

Co-authored-by: Dario Coscia <dariocoscia@dhcp-040.eduroam.sissa.it>
2023-11-17 09:51:29 +01:00