The comments indicate:
X_train – training set represented by a numpy array of shape (num_px * num_px * 3, m_train)
X_test – test set represented by a numpy array of shape (num_px * num_px * 3, m_test)
if I add print statements before any of my code:
print (str(m_train) + ’ training examples’)
print (str(m_test) + ’ test examples’)
print (str(num_px) + ’ image size’)
print (str(X_train.shape) + ' X_train shape')
print (str(X_test.shape) + ' X_test shape')
I get:
209 training examples
50 test examples
64 image size
(4, 7) X_train shape
(4, 3) X_test shape
So I am told my training data is [64 * 64 * 3, 209] and instead of images, I am given a 4x7 array. Where’s my data? This looks seriously messed up before it even gets to my code, but I see a lot of other questions with people having issues with 4x7 arrays, so I guess I am reading it wrong but I still have no idea. Please help.