Skip to content

Commit

Permalink
Merge pull request labmlai#182 from csl122/patch-1
Browse files Browse the repository at this point in the history
add two missing param comments for UNetModel class
  • Loading branch information
vpj authored Jun 30, 2023
2 parents 2f7a05d + 084fc89 commit 9c28858
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion labml_nn/diffusion/stable_diffusion/model/unet.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ def __init__(
:param n_res_blocks: number of residual blocks at each level
:param attention_levels: are the levels at which attention should be performed
:param channel_multipliers: are the multiplicative factors for number of channels for each level
:param n_heads: the number of attention heads in the transformers
:param n_heads: is the number of attention heads in the transformers
:param tf_layers: is the number of transformer layers in the transformers
:param d_cond: is the size of the conditional embedding in the transformers
"""
super().__init__()
self.channels = channels
Expand Down

0 comments on commit 9c28858

Please sign in to comment.