initialize self-adaptive weights to 0 (#358)

This commit is contained in:
Giovanni_Canali
2024-10-03 18:21:29 +02:00
committed by Nicola Demo
parent 801b6b8d34
commit 53605d5a09

View File

@@ -117,7 +117,7 @@ class RBAPINN(PINN):
# initialize weights
self.weights = {}
for condition_name in problem.conditions:
self.weights[condition_name] = 1
self.weights[condition_name] = 0
# define vectorial loss
self._vectorial_loss = deepcopy(loss)