Skip to content

Commit 4a3f6b0

Browse files
Tweak learning rate.
1 parent 145c4e8 commit 4a3f6b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/teacher_student.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def train(net, train_data):
5252
Layer(16, 16, LeakyReLU()),
5353
Layer(16, 10, LeakyReLU()),
5454
]
55-
teacher = NeuralNetwork(layers, CrossEntropyLoss(), 0.001)
55+
teacher = NeuralNetwork(layers, CrossEntropyLoss(), 0.01)
5656

5757
test_data = load_data(TEST_FILE, delimiter=",", dtype=int)
5858
accuracy = test(teacher, test_data)

0 commit comments

Comments
 (0)