Skip to content

Commit 53605d5

Browse files
GiovanniCanalindem0
authored andcommitted
initialize self-adaptive weights to 0 (#358)
1 parent 801b6b8 commit 53605d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pina/solvers/pinns/rbapinn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def __init__(
117117
# initialize weights
118118
self.weights = {}
119119
for condition_name in problem.conditions:
120-
self.weights[condition_name] = 1
120+
self.weights[condition_name] = 0
121121

122122
# define vectorial loss
123123
self._vectorial_loss = deepcopy(loss)

0 commit comments

Comments
 (0)