I start to work with the Flux.jl to create neural networks. Using the documentation Flux_Callback I wanted touse a callback for a train model.
Using the suggested callback
cb = function ()
accuracy() > 0.9 && Flux.stop()
ends in the error “accuracy not defined”. Does anybody know how to import the accuracy function in Flux? I already tried Flux.accuracy() but I get the same error.