I\'ve been trying to create the convolutional network from the Tensorflow tutorial, but I\'ve been having trouble. For some reason, I\'m getting errors where the size of y_conv
The reshapes with the -1's are clues. It's not the batch size that's wrong it's the image size. You're flattening it out into the batch dimension.
Why is the image the wrong size?
On the second conv you're passing conv1
instead of pool1
conv2d(h_conv1, w_conv2)
.
Personally for pipelines like this I like to use 1 name for the data as it flows through.
Start using a debugger, it's worth it!