Commit Graph

21 Commits

Author SHA1 Message Date
giovanni
aea24d0bee standardize module docstring 2025-03-19 17:48:27 +01:00
Filippo Olivo
4177bfbb50 Fix Codacy Warnings (#477)
---------

Co-authored-by: Dario Coscia <dariocos99@gmail.com>
2025-03-19 17:48:18 +01:00
Dario Coscia
42ab1a666b Formatting
* Adding black as dev dependency
* Formatting pina code
* Formatting tests
2025-03-19 17:46:36 +01:00
Dario Coscia
886bd23fdb Back compatibility 0.1 2025-03-19 17:46:36 +01:00
Dario Coscia
df673cad4e Renaming
* solvers -> solver
* adaptive_functions -> adaptive_function
* callbacks -> callback
* operators -> operator
* pinns -> physics_informed_solver
* layers -> block
2025-03-19 17:46:36 +01:00
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
Giovanni Canali
4bec5bfc9a Update import from lightning.pytorch (#409)
* update import
* Remove unnecessary import return type

---------

Co-authored-by: Filippo Olivo <filippo@filippoolivo.com>
2025-03-19 17:46:34 +01: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
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
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
cbb43a5392 🎨 Format Python code with psf/black 2024-02-09 15:11:51 +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
Dario Coscia
3f9305d475 Solvers logging (#202)
* Modifying solvers to log every epoch correctly
* add `on_epoch` flag to logger
* fix bug in `pinn.py` `pts -> samples` in `_loss_phys`
* add `optimizer_zero_grad()` in garom generator training loop
* modify imports in `callbacks.py`
* fixing tests

---------

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
a9b1bd2826 Tutorials v0.1 (#178)
Tutorial update and small fixes

* Tutorials update + Tutorial FNO
* Create a metric tracker callback
* Update PINN for logging
* Update plotter for plotting
* Small fix LabelTensor
* Small fix FNO

---------

Co-authored-by: Dario Coscia <dariocoscia@cli-10-110-13-250.WIFIeduroamSTUD.units.it>
Co-authored-by: Dario Coscia <dariocoscia@dhcp-176.eduroam.sissa.it>
2023-11-17 09:51:29 +01:00
Dario Coscia
1936133ad5 minor fix 2023-11-17 09:51:29 +01:00