I have got so many troubles with Lesson5_sgd_mnist, already spent too many hours and I hope someone can help. I could not download the file on the server deeplearning.net so I downloaded from a different server (on Kaggle) and it looked like it worked at first. The format was different so I had to do some reshape, and then change to type=float… My problem now is that I get this message:
According to the error message, it looks that the format of the argument “target” should be a scalar of type Long, not float. I cant see how to fix this, how to change “target” type to Long, where to find this argument in the code, etc…
Thanks in advance,
sorry if this is trivial, i just hope someone had same trouble and found a solution.