Open chismar opened 6 years ago
Which version of CNTK are you running on? What's the callstack?
2.5 So, I've resolved the issue. I've accidently been using CNTKLib.Minus with two input arguments, instead of prediction output and an input.
Though I would prefer an actual proper error message, in the mean time changing
var loss = CNTKLib.ReduceMean(CNTKLib.Square(CNTKLib.Minus(**boardVariable**, rewardBoard)), new Axis(0));
to
var loss = CNTKLib.ReduceMean(CNTKLib.Square(CNTKLib.Minus(**func2**, rewardBoard)), new Axis(0));
Solved the issue.
(Although, my network learns how to loose and not win for some reason, but that's up to me to fix, lol)
While function evaluation works fine (not throwing exceptions), this code instead throws one, when I call tran minibatch. I'm new to CNTK, and could've just done something wrong, or this is a bug.
``
``