Skip to content

Commit 1fd4fb9

Browse files
committed
Use AdamW in MNIST test
1 parent dcd9bd5 commit 1fd4fb9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_mnist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def test_mnist(batch_sz: int = 64, n_epochs: int = 3):
4242
train_labels = np.split(train_labels, n_batches)
4343

4444
# Optimizer
45-
opt = mpp.SGD(lr=0.01)
45+
opt = mpp.AdamW(lr=0.001)
4646

4747
# Feedforward neural network
4848
model = mpp.Sequential(

0 commit comments

Comments
 (0)