Skip to content
This repository was archived by the owner on Sep 28, 2024. It is now read-only.

Commit e7abd60

Browse files
committed
drop cb
1 parent 8254713 commit e7abd60

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ And then train as a Flux model.
5757
```
5858
loss(𝐱, 𝐲) = sum(abs2, 𝐲 .- fno(𝐱)) / size(𝐱)[end]
5959
opt = Flux.Optimiser(WeightDecay(1f-4), Flux.ADAM(1f-3))
60-
call_back = Flux.throttle(validate, 5, leading=false, trailing=true)
61-
Flux.@epochs 50 Flux.train!(loss, params(m), data, opt, cb=call_back)
60+
Flux.@epochs 50 Flux.train!(loss, params(m), data, opt)
6261
```
6362

6463
## Examples

0 commit comments

Comments
 (0)