Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
2f24ce1c
Commit
2f24ce1c
authored
Jun 08, 2022
by
patil-suraj
Browse files
rename to UNetLDMModel
parent
4ea4429d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/models/unet_ldm.py
src/diffusers/models/unet_ldm.py
+1
-1
No files found.
src/diffusers/models/unet_ldm.py
View file @
2f24ce1c
...
@@ -720,7 +720,7 @@ class QKVAttentionLegacy(nn.Module):
...
@@ -720,7 +720,7 @@ class QKVAttentionLegacy(nn.Module):
return
count_flops_attn
(
model
,
_x
,
y
)
return
count_flops_attn
(
model
,
_x
,
y
)
class
UNetModel
(
ModelMixin
,
ConfigMixin
):
class
UNet
LDM
Model
(
ModelMixin
,
ConfigMixin
):
"""
"""
The full UNet model with attention and timestep embedding.
The full UNet model with attention and timestep embedding.
:param in_channels: channels in the input Tensor.
:param in_channels: channels in the input Tensor.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment