New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: 'total size of new array must be unchanged' #8
Comments
Could you try and print out the values of batch_train_loss = self.train_iter_(Xb, yb) |
|
Ah, it looks like you're using the |
Well maybe an easier solution to what's discussed in that other ticket is to just hack BatchIterator to skip remainder batches that are smaller than |
It turns out that there's a much easier solution to this problem. In the tutorial, I made an error and falsely set the input layer's So that means I could undo the |
Is there any performance gain to having the Theano compiler know up front the size of the batch size? |
Tried with a large net, didn't see any performance difference. |
Am I doing something wrong here:
leads to:
The text was updated successfully, but these errors were encountered: