Skip to content

Commit 6576e98

Browse files
committed
minor typo in the type hint of ddpm/unet
1 parent 9a42ac2 commit 6576e98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

labml_nn/diffusion/ddpm/unet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ class UNet(Module):
312312

313313
def __init__(self, image_channels: int = 3, n_channels: int = 64,
314314
ch_mults: Union[Tuple[int, ...], List[int]] = (1, 2, 2, 4),
315-
is_attn: Union[Tuple[bool, ...], List[int]] = (False, False, True, True),
315+
is_attn: Union[Tuple[bool, ...], List[bool]] = (False, False, True, True),
316316
n_blocks: int = 2):
317317
"""
318318
* `image_channels` is the number of channels in the image. $3$ for RGB.

0 commit comments

Comments
 (0)