From b8de09fa18c03c4dd1478cff9e5112193b60caab Mon Sep 17 00:00:00 2001 From: Geontae Pak Date: Fri, 16 May 2025 06:38:43 +0000 Subject: [PATCH 1/3] Add hi.txt --- hi.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 hi.txt diff --git a/hi.txt b/hi.txt new file mode 100644 index 00000000..e69de29b From 91c06272ad22f8debbdbf49e070c81604681df2c Mon Sep 17 00:00:00 2001 From: Geontae Pak Date: Fri, 16 May 2025 07:03:28 +0000 Subject: [PATCH 2/3] Correct typo in default value within help --- mnist/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mnist/main.py b/mnist/main.py index 7d7899d9..1bee55c4 100644 --- a/mnist/main.py +++ b/mnist/main.py @@ -77,7 +77,7 @@ def main(): parser.add_argument('--test-batch-size', type=int, default=1000, metavar='N', help='input batch size for testing (default: 1000)') parser.add_argument('--epochs', type=int, default=14, metavar='N', - help='number of epochs to train (default: 10)') + help='number of epochs to train (default: 14)') parser.add_argument('--lr', type=float, default=1.0, metavar='LR', help='learning rate (default: 1.0)') parser.add_argument('--gamma', type=float, default=0.7, metavar='M', From 569c40de6a28c5934750c0e620b88a9745e539ae Mon Sep 17 00:00:00 2001 From: Geontae Pak Date: Fri, 16 May 2025 07:14:44 +0000 Subject: [PATCH 3/3] added missing non-linearity --- mnist/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mnist/main.py b/mnist/main.py index 1bee55c4..166231af 100644 --- a/mnist/main.py +++ b/mnist/main.py @@ -22,6 +22,7 @@ def forward(self, x): x = self.conv1(x) x = F.relu(x) x = self.conv2(x) + x = F.relu(x) x = F.max_pool2d(x, 2) x = self.dropout1(x) x = torch.flatten(x, 1)