Skip to content

Commit caf0491

Browse files
committed
[no ci] set trainable to False explicitly in ModelComparisonApproximator
1 parent a503bd9 commit caf0491

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bayesflow/approximators/model_comparison_approximator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def __init__(
6464
# we have to lazily initialize these
6565
self.standardize_layers = None
6666
else:
67-
self.standardize_layers = {var: Standardization() for var in self.standardize}
67+
self.standardize_layers = {var: Standardization(trainable=False) for var in self.standardize}
6868

6969
def build_from_data(self, adapted_data: dict[str, any]):
7070
if self.standardize == "all":

0 commit comments

Comments
 (0)