blob: b03db017f4ee4bbd1aa80eb96ab68169cfe22133 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
"""
Homework 5 - CNNs
CS1430 - Computer Vision
Brown University
"""
"""
Number of epochs. If you experiment with more complex networks you
might need to increase this. Likewise if you add regularization that
slows training.
"""
num_epochs = 5000
"""
A critical parameter that can dramatically affect whether training
succeeds or fails. The value for this depends significantly on which
optimizer is used. Refer to the default learning rate parameter
"""
learning_rate = 3e-2
momentum = 0.01
alpha = 1e-2
beta = 1e-5
|