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
aafed3f8
Unverified
Commit
aafed3f8
authored
Dec 16, 2024
by
Kaiwen Sheng
Committed by
GitHub
Dec 17, 2024
Browse files
fix downsample bug in MidResTemporalBlock1D (#10250)
parent
5ed761a6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/models/unets/unet_1d_blocks.py
src/diffusers/models/unets/unet_1d_blocks.py
+1
-1
No files found.
src/diffusers/models/unets/unet_1d_blocks.py
View file @
aafed3f8
...
@@ -217,7 +217,7 @@ class MidResTemporalBlock1D(nn.Module):
...
@@ -217,7 +217,7 @@ class MidResTemporalBlock1D(nn.Module):
if
self
.
upsample
:
if
self
.
upsample
:
hidden_states
=
self
.
upsample
(
hidden_states
)
hidden_states
=
self
.
upsample
(
hidden_states
)
if
self
.
downsample
:
if
self
.
downsample
:
self
.
downsample
=
self
.
downsample
(
hidden_states
)
hidden_states
=
self
.
downsample
(
hidden_states
)
return
hidden_states
return
hidden_states
...
...
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