Skip to content

Commit 46a3b43

Browse files
committed
in_channels
1 parent 6714388 commit 46a3b43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/base_classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ def _test_encode(self, **kwargs):
467467
width = kwargs.get("width")
468468

469469
tensor = torch.randn(
470-
(batch, self.model.config.latent_channels, height, width), dtype=self.dtype, device="cuda"
470+
(batch, self.model.config.in_channels, height, width), dtype=self.dtype, device="cuda"
471471
)
472472

473473
try:

0 commit comments

Comments
 (0)