You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it should be something like loadmodel!(model, load("mymodel.bson")[:model]). Also it looks like this case is not tested (can't find it in test/utils.jl).
Flux v0.13.11 & BSON v0.3.6
The text was updated successfully, but these errors were encountered:
The docs (http://fluxml.ai/Flux.jl/stable/saving/) say you can load a model with :
model = loadmodel!(model, @load("mymodel.bson"))
but
@load("mymodel.bson")
returns nothing.I think it should be something like
loadmodel!(model, load("mymodel.bson")[:model])
. Also it looks like this case is not tested (can't find it in test/utils.jl).Flux v0.13.11 & BSON v0.3.6
The text was updated successfully, but these errors were encountered: