Skip to content

Commit d487a4b

Browse files
authored
Fix bug in autoencoderkl_maisi.py
1 parent def4222 commit d487a4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)