-
Notifications
You must be signed in to change notification settings - Fork 140
Description
Hi anujdutt9 thank you for this awesome project,can you please help me on below..As i have converted my sample into MNIST DATASET Image after that i converted to grayscale still i got below error can you please revert on this.
Traceback (most recent call last):
File "svm.py", line 88, in
test_labels_pred = clf.predict(im)
File "/usr/local/lib/python3.5/dist-packages/sklearn/svm/base.py", line 573, in predict
y = super(BaseSVC, self).predict(X)
File "/usr/local/lib/python3.5/dist-packages/sklearn/svm/base.py", line 310, in predict
X = self._validate_for_predict(X)
File "/usr/local/lib/python3.5/dist-packages/sklearn/svm/base.py", line 479, in validate_for_predict
(n_features, self.shape_fit[1]))
ValueError: X.shape[1] = 800 should be equal to 784, the number of features at training time