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
188d864f
Unverified
Commit
188d864f
authored
Oct 24, 2023
by
zideliu
Committed by
GitHub
Oct 23, 2023
Browse files
[BUG] in transformer_temporal Fix Bugs (#5496)
Fix Bugs
parent
6e608d8a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/models/transformer_temporal.py
src/diffusers/models/transformer_temporal.py
+1
-1
No files found.
src/diffusers/models/transformer_temporal.py
View file @
188d864f
...
...
@@ -171,7 +171,7 @@ class TransformerTemporalModel(ModelMixin, ConfigMixin):
hidden_states
=
self
.
proj_out
(
hidden_states
)
hidden_states
=
(
hidden_states
[
None
,
None
,
:]
.
reshape
(
batch_size
,
height
,
width
,
channel
,
num_frames
)
.
reshape
(
batch_size
,
height
,
width
,
num_frames
,
channel
)
.
permute
(
0
,
3
,
4
,
1
,
2
)
.
contiguous
()
)
...
...
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