Hi,
I’m trying to build simple model which works with MNIST dataset. It works fine, but I get some warning and was wandering if this is something which I can improve
Here is the model:
Chain(
Conv((5, 5), 1=>8, pad=2, stride=2, relu),
Conv((3, 3), 8=>16, pad=1, stride=2, relu),
Conv((3, 3), 16=>32, pad=1, stride=2, relu),
Conv((3, 3), 32=>32, pad=1, stride=2, relu),
GlobalMeanPool(),
flatten,
Dense(32, 10),
softmax
)
And here is the warning:
Warning: Slow fallback implementation invoked for conv! You probably don't want this; check your datatypes.
│ yT = Float32
│ T1 = FixedPointNumbers.Normed{UInt8,8}
│ T2 = Float32
└ @ NNlib ~/.julia/packages/NNlib/haems/src/conv.jl:206
As I said the model works ok even with this warning, but I’m curious what have I done wrong here.
Thanks in advance for any tips.