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
4408047a
Unverified
Commit
4408047a
authored
Jun 18, 2024
by
kkj15dk
Committed by
GitHub
Jun 18, 2024
Browse files
self.upsample = Upsample1D (#8580)
Making self.upsample actually be Upsample1D
parent
34fab8b5
Changes
1
Hide 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 @
4408047a
...
...
@@ -200,7 +200,7 @@ class MidResTemporalBlock1D(nn.Module):
self
.
upsample
=
None
if
add_upsample
:
self
.
upsample
=
Down
sample1D
(
out_channels
,
use_conv
=
True
)
self
.
upsample
=
Up
sample1D
(
out_channels
,
use_conv
=
True
)
self
.
downsample
=
None
if
add_downsample
:
...
...
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