Skip to content

Commit a1d7555

Browse files
anastasiakrouglovaNastya Krouglova
and
Nastya Krouglova
authored
fix: z_score correct order in zuko (#1492)
Co-authored-by: Nastya Krouglova <nastyakrouglova@webauth446.uni-tuebingen.de>
1 parent c9847a8 commit a1d7555

File tree

1 file changed

+2
-2
lines changed
  • sbi/neural_nets/net_builders

1 file changed

+2
-2
lines changed

sbi/neural_nets/net_builders/flow.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1068,8 +1068,8 @@ def build_zuko_flow(
10681068
z_score_x_bool, structured_x = z_score_parser(z_score_x)
10691069
if z_score_x_bool:
10701070
transform = (
1071-
transform,
10721071
standardizing_transform_zuko(batch_x, structured_x),
1072+
transform,
10731073
)
10741074

10751075
z_score_y_bool, structured_y = z_score_parser(z_score_y)
@@ -1087,8 +1087,8 @@ def build_zuko_flow(
10871087
z_score_x_bool, structured_x = z_score_parser(z_score_x)
10881088
if z_score_x_bool:
10891089
transforms = (
1090-
*transforms,
10911090
standardizing_transform_zuko(batch_x, structured_x),
1091+
*transforms,
10921092
)
10931093

10941094
z_score_y_bool, structured_y = z_score_parser(z_score_y)

0 commit comments

Comments
 (0)