print epochs again
This commit is contained in:
parent
1edabe6052
commit
63b328142a
@ -9,7 +9,8 @@ tobatch(xs) = tobatch(batchone(xs))
|
|||||||
|
|
||||||
function train!(m, train, test = []; epoch = 1, η = 0.1)
|
function train!(m, train, test = []; epoch = 1, η = 0.1)
|
||||||
i = 0
|
i = 0
|
||||||
for _ in 1:epoch
|
for e in 1:epoch
|
||||||
|
info("Epoch $e")
|
||||||
@progress for (x, y) in train
|
@progress for (x, y) in train
|
||||||
x, y = tobatch.((x, y))
|
x, y = tobatch.((x, y))
|
||||||
i += 1
|
i += 1
|
||||||
|
Loading…
Reference in New Issue
Block a user