Closed yashbha closed 6 years ago
Can you share the lines in your code that causes this issue? (testme.jl:254-258 neighborhood)
function epoch!(w, m, o, xtrn, ytrn; mbatch=64)
data = minibatch(xtrn, ytrn, mbatch;
shuffle=true,
xtype=atype())
for (x, y) in data
g = lossgrad(w, m, x, y)
update!(w, g, o)
end
end
I am using the same code as in Knet.jl examples: cnn-batchnorm. I had very recently raised an issue in Knet github. about the same code- https://github.com/denizyuret/Knet.jl/issues/353#issuecomment-421101231
There's no unexpected behavior. Feel free the open this issue and the other one, if the answer does not satisfy you.
I am getting the following error when I am implementing a Knet model.