Commit Graph

10 Commits

Author SHA1 Message Date
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]
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
1936133ad5 minor fix 2023-11-17 09:51:29 +01:00