Open
Description
The second code cell returns:
UndefVarError: ⋅ not defined
After adding using LinearAlgebra
to get the ⋅ defined. The machine learning example using flux throws the following error:
MethodError: no method matching Adam(::Vector{Any})
Closest candidates are:
Adam(::Any, ::Any, ::Any, ::Any) at ~/.julia/packages/Flux/kq9Et/src/optimise/optimisers.jl:168
Adam() at ~/.julia/packages/Flux/kq9Et/src/optimise/optimisers.jl:173
Adam(::Float64, ::Tuple{Float64, Float64}, ::Float64, ::IdDict{Any, Any}) at ~/.julia/packages/Flux/kq9Et/src/optimise/optimisers.jl:168
...
Stacktrace:
[1] top-level scope
@ In[10]:4
[2] eval
@ ./boot.jl:368 [inlined]
[3] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String)
@ Base ./loading.jl:1428
Looking at the flux docs, it appears that the api has changed. I was using julia 1.8.3 and Flux 0.13.0.
Metadata
Assignees
Labels
No labels