big refactoring

This commit is contained in:
hobogalaxy committed 2020-11-21 03:54:38 +01:00
1 parent cfc298a2d2
commit 53e063ca7e
10 files changed
+41 -12

No files matched your search

+2 -1
View File
@@ -13,7 +13,8 @@ class SimpleLinearMNIST(nn.Module):
# mnist images are (1, 28, 28) (channels, width, height)
self.model = nn.Sequential(
nn.Linear(28 * 28, config["lin1_size"]),
nn.Linear(28*28, config["lin1_size"]),
# nn.Linear(3*32*32, config["lin1_size"]), # for CIFAR10
nn.BatchNorm1d(config["lin1_size"]),
nn.ReLU(),
nn.Dropout(p=0.3),