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 ff388a5 commit ad90f8cCopy full SHA for ad90f8c
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