Skip to content

Commit 8053f3f

Browse files
authored
Change default dropout rate.
1 parent 9e807c8 commit 8053f3f

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
@@ -92,7 +92,7 @@ class ResidualBlock(Module):
9292
Each resolution is processed with two residual blocks.
9393
"""
9494

95-
def __init__(self, in_channels: int, out_channels: int, time_channels: int, n_groups: int = 32, dropout_rate: float = 0.01):
95+
def __init__(self, in_channels: int, out_channels: int, time_channels: int, n_groups: int = 32, dropout_rate: float = 0.1):
9696
"""
9797
* `in_channels` is the number of input channels
9898
* `out_channels` is the number of input channels

0 commit comments

Comments
 (0)