Skip to content

Commit d0b6625

Browse files
author
root
committed
fix bug in maisi vae
Signed-off-by: root <root@cw-dfw-h100-003-115-026.cm.cluster>
1 parent def4222 commit d0b6625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monai/apps/generation/maisi/networks/autoencoderkl_maisi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def forward(self, x: torch.Tensor) -> torch.Tensor:
232232
if self.print_info:
233233
logger.info(f"Number of splits: {self.num_splits}")
234234

235-
if self.dim_split <= 1 and self.num_splits <= 1:
235+
if self.num_splits <= 1:
236236
x = self.conv(x)
237237
return x
238238

0 commit comments

Comments
 (0)