Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
diffusers
Commits
6be43bd8
Unverified
Commit
6be43bd8
authored
Jun 04, 2024
by
townwish4git
Committed by
GitHub
Jun 03, 2024
Browse files
Fix AsymmetricAutoencoderKL forward (#8378)
parent
dc89434b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/models/autoencoders/autoencoder_asym_kl.py
src/diffusers/models/autoencoders/autoencoder_asym_kl.py
+1
-1
No files found.
src/diffusers/models/autoencoders/autoencoder_asym_kl.py
View file @
6be43bd8
...
...
@@ -176,7 +176,7 @@ class AsymmetricAutoencoderKL(ModelMixin, ConfigMixin):
z
=
posterior
.
sample
(
generator
=
generator
)
else
:
z
=
posterior
.
mode
()
dec
=
self
.
decode
(
z
,
sample
,
mask
).
sample
dec
=
self
.
decode
(
z
,
generator
,
sample
,
mask
).
sample
if
not
return_dict
:
return
(
dec
,)
...
...
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