Commit Graph

361 Commits

Author SHA1 Message Date
giovanni
81830ecc99 fix laplacian 2025-03-19 17:46:34 +01:00
FilippoOlivo
a6f0336d06 Add check conditions-solver consistency 2025-03-19 17:46:34 +01:00
Nicola Demo
f2340cd4ee fix some tests 2025-03-19 17:46:34 +01:00
Nicola Demo
03b16b556b translate setup to pyproject 2025-03-19 17:46:34 +01:00
giovanni
9e0dc8fc54 sort variables in operations 2025-03-19 17:46:34 +01:00
giovanni
0adc013f5f sorted variables 2025-03-19 17:46:34 +01:00
Filippo Olivo
f748b66194 Fix bugs (#387) 2025-03-19 17:46:34 +01:00
Dario Coscia
3c95441aac Revert "Fix bugs (#385)" (#386)
This reverts commit 69cd0ed8cda91c92dab6551a0c6dfd94d199cee7.
2025-03-19 17:46:34 +01:00
Filippo Olivo
6da74cadd5 Fix bugs (#385) 2025-03-19 17:46:34 +01:00
Dario Coscia
b52112e448 remove unnecessary dependency 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
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
a888141707 Add concatenation test for LabelTensor 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
e4c69515dd Update testing_pr.yml 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
HGangloff
59c9a173b4 Correct derivatives in Burgers equation (#389)
* Correct derivatives in Burgers equation
2024-12-09 13:13:07 +01:00
Giovanni Canali
5e36d1b618 Additional tests for operators (#384)
* Adding tests for operators
2024-11-25 17:16:17 +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
AleDinve
db521ef468 check on Colab option 2024-11-05 21:16:44 +01:00