You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!, awesome code.
I'm getting this error during the execution of test-classifier.py:
Traceback (most recent call last):
File "test-classifier.py", line 69, in
pred = clf.predict(fd)
File "/usr/lib/python2.7/dist-packages/sklearn/linear_model/base.py", line 268, in predict
scores = self.decision_function(X)
File "/usr/lib/python2.7/dist-packages/sklearn/linear_model/base.py", line 249, in decision_function
% (X.shape[1], n_features))
ValueError: X has 2430 features per sample; expecting 5184
Is there any correlation with the number of positive and negative samples?
Hi!, awesome code.
I'm getting this error during the execution of test-classifier.py:
Traceback (most recent call last):
File "test-classifier.py", line 69, in
pred = clf.predict(fd)
File "/usr/lib/python2.7/dist-packages/sklearn/linear_model/base.py", line 268, in predict
scores = self.decision_function(X)
File "/usr/lib/python2.7/dist-packages/sklearn/linear_model/base.py", line 249, in decision_function
% (X.shape[1], n_features))
ValueError: X has 2430 features per sample; expecting 5184
Is there any correlation with the number of positive and negative samples?
I'm puting 100 Pos images and 13000 Neg images
Resolution: 80X80
Regards!
The text was updated successfully, but these errors were encountered: