"docs/vscode:/vscode.git/clone" did not exist on "e3767f8aa51921460c89e1d396ccce097cebc9d5"
Unverified Commit 100e094c authored by Pedro Cuenca's avatar Pedro Cuenca Committed by GitHub
Browse files

Fix autoencoder test (#886)

Fix autoencoder test.
parent cca59ce3
......@@ -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():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment