This repository has been archived by the owner on Mar 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 187
How can i use MSE criterion? #71
Comments
Sorry but this is for reporting issues in torchnet, not for general Torch questions. https://github.com/torch/nn/blob/master/doc/criterion.md#msecriterion |
I think the problem is still exist. |
Yes, you cannot just use any criterion. The MNIST example is for classification, whereas MSE should be used for regression. This can be found in the Torch nn documentation. |
Thank you. |
I suspect returning vector in getIterator(mode) {...} is not work. target = torch.LongTensor(1,10) or target = torch.LongTensor(10, 1) Will you have a plan to enhance it near some day? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Running examples/mnist.lua simply, i can't change criterion to MSE Criterion.
Can you tell me the how-to?
The text was updated successfully, but these errors were encountered: