change(example/cifar): switch wd back
This commit is contained in:
parent
274f419f70
commit
64c1f378c5
|
@ -120,10 +120,9 @@ func main() {
|
|||
|
||||
var bestAccuracy float64
|
||||
|
||||
batchSize := 512
|
||||
for epoch := 0; epoch < 350; epoch++ {
|
||||
// opt.SetLR(learningRate(epoch))
|
||||
optConfig := nn.NewSGDConfig(0.9, 0.0, 5e-4*float64(batchSize), true)
|
||||
optConfig := nn.NewSGDConfig(0.9, 0.0, 5e-4, true)
|
||||
var opt nn.Optimizer
|
||||
var err error
|
||||
switch {
|
||||
|
|
Loading…
Reference in New Issue
Block a user