We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30ea4c2 commit 95d6abbCopy full SHA for 95d6abb
tests/test_models_vae.py
@@ -96,7 +96,7 @@ def test_output_pretrained(self):
96
model.config.in_channels,
97
model.config.sample_size,
98
99
- generator=generator,
+ generator=torch.manual_seed(0),
100
)
101
image = image.to(torch_device)
102
with torch.no_grad():
0 commit comments