Skip to content

Commit

Permalink
Change image shape in resnet test case
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnabergoj committed Jun 25, 2024
1 parent 480c2ff commit 58459cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def make_resnet152(image_width, n_outputs):

if __name__ == '__main__':
n_images = 2
image_shape = (3, 270, 270)
image_shape = (3, 32, 32)

net = make_resnet18(image_width=image_shape[-1], n_outputs=15)
y = net(torch.randn(n_images, *image_shape))
Expand Down

0 comments on commit 58459cf

Please sign in to comment.