Skip to content

Commit

Permalink
fix dimensionality of the test
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyfix committed Jan 23, 2024
1 parent bc02691 commit 51b0984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Webpage/03-pytorch-gan.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def test_discriminator():
critic = Discriminator((1, 28, 28), dropout=0.5, base_c=32, dnoise=0.1, num_classes=2)
X = torch.randn(64, 1, 28, 28)
out = critic(X)
assert(out.shape == torch.Size([64]))
assert(out.shape == torch.Size([64, 2]))
```


Expand Down

0 comments on commit 51b0984

Please sign in to comment.