Skip to content

Commit

Permalink
Remove bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Paupiera committed Jan 9, 2024
1 parent 704b6c0 commit facb3bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cnn_mnist/models/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def __init__(self, number_of_kernels, kernel_sizes, input_channels, xsize_input)
self.convlayers.append(nn.Conv2d(input_channels, n_kernels, kernel_size))

input_channels = n_kernels
xsize_input -= 1 # 2
xsize_input -= 2

self.last_feature_xdim = xsize_input
self.relu = nn.ReLU()
Expand Down

0 comments on commit facb3bc

Please sign in to comment.