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
badc5517
Commit
badc5517
authored
Jul 15, 2022
by
Patrick von Platen
Browse files
fix small bug
parent
f448360b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/models/unet_unconditional.py
src/diffusers/models/unet_unconditional.py
+1
-1
No files found.
src/diffusers/models/unet_unconditional.py
View file @
badc5517
...
@@ -201,7 +201,7 @@ class UNetUnconditionalModel(ModelMixin, ConfigMixin):
...
@@ -201,7 +201,7 @@ class UNetUnconditionalModel(ModelMixin, ConfigMixin):
prev_output_channel
=
output_channel
prev_output_channel
=
output_channel
# out
# out
self
.
conv_norm_out
=
nn
.
GroupNorm
(
num_channels
=
block_channels
[
0
],
num_groups
=
32
,
eps
=
1e-5
)
self
.
conv_norm_out
=
nn
.
GroupNorm
(
num_channels
=
block_channels
[
0
],
num_groups
=
32
,
eps
=
resnet_eps
)
self
.
conv_act
=
nn
.
SiLU
()
self
.
conv_act
=
nn
.
SiLU
()
self
.
conv_out
=
nn
.
Conv2d
(
block_channels
[
0
],
out_channels
,
3
,
padding
=
1
)
self
.
conv_out
=
nn
.
Conv2d
(
block_channels
[
0
],
out_channels
,
3
,
padding
=
1
)
...
...
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