Skip to content

Commit 2370243

Browse files
authored
fix padding not defined in cifar10 models
1 parent 833fae5 commit 2370243

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cifar/models/simplenet.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ def _make_layers(self, scale: float):
297297
# check to convert any possible integer value to its decimal counterpart.
298298
custom_dropout = None if custom_dropout is None else float(custom_dropout)
299299
kernel_size = 3
300+
padding = 1
300301
if layer_type == ['k1']:
301302
kernel_size = 1
302303
padding = 0

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy