Hi!
I am new to Julia and I would like to learn it. When I try to run the code below
using Flux, BSON
model = Chain(
Conv((3, 3), 1=>16, pad=(1,1), relu),
MaxPool((2,2)),
Conv((3, 3), 16=>32, pad=(1,1), relu),
MaxPool((2,2)),
Conv((3, 3), 32=>32, pad=(1,1), relu),
MaxPool((2,2)),
x -> reshape(x, :, size(x, 4)),
Dense(288, 10),
softmax,
)
BSON.@save "foo.bson" model
I get
ERROR: LoadError: type Method has no field sparam_syms
Please, how could I fix this?
I running Julia 1.2.0 in the Atom 1.38.1 environment on MacOS. Flux v0.9.0, BSON v0.2.3
Thanks