Skip to content

Commit

Permalink
🐛 Remove test case bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rishikksh20 committed Aug 31, 2020
1 parent 75b32eb commit 67f5629
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_res_unet.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

def test_resunet():
img = torch.ones(1, 3, 224, 224)
resunet = ResUnet(3, 64)
resunet = ResUnet(3)
assert resunet(img).shape == torch.Size([1, 1, 224, 224])


Expand All @@ -16,4 +16,5 @@ def test_residual_conv():
def test_upsample():
x = torch.ones(1, 512, 28, 28)
upsample = Upsample(512, 512, 2, 2)
assert upsample(x).shape == torch.Size([1, 512, 56, 56])
assert upsample(x).shape == torch.Size([1, 512, 56, 56])

0 comments on commit 67f5629

Please sign in to comment.