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
100e094c
Unverified
Commit
100e094c
authored
Oct 17, 2022
by
Pedro Cuenca
Committed by
GitHub
Oct 17, 2022
Browse files
Fix autoencoder test (#886)
Fix autoencoder test.
parent
cca59ce3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_models_vae.py
tests/test_models_vae.py
+1
-1
No files found.
tests/test_models_vae.py
View file @
100e094c
...
...
@@ -96,7 +96,7 @@ class AutoencoderKLTests(ModelTesterMixin, unittest.TestCase):
model
.
config
.
in_channels
,
model
.
config
.
sample_size
,
model
.
config
.
sample_size
,
generator
=
generator
,
generator
=
torch
.
manual_seed
(
0
)
,
)
image
=
image
.
to
(
torch_device
)
with
torch
.
no_grad
():
...
...
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