Skip to content

Commit 23f79b5

Browse files
author
Julius Berner
committed
Fix regression output shape
1 parent 82e36dc commit 23f79b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/weather/corrdiff/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def generate_fn():
196196
net=net_reg,
197197
img_lr=img_lr,
198198
latents_shape=(
199-
cfg.generation.seed_batch_size,
199+
sum(map(len, rank_batches)),
200200
img_out_channels,
201201
img_shape[0],
202202
img_shape[1],

0 commit comments

Comments
 (0)