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
Traceback (most recent call last):
File "/Users/ThomasInnovation/PycharmProjects/TextRecognition/main.py", line 14, in
maybe_text = user.select_text_among_candidates('/Users/ThomasInnovation/PycharmProjects/TextRecognition/linearsvc-hog-fulltrain2-90.pickle')
File "/Users/ThomasInnovation/PycharmProjects/TextRecognition/userimageski.py", line 103, in select_text_among_candidates
is_text = model.predict(self.candidates['flattened'])
File "/Library/Python/2.7/site-packages/sklearn/utils/metaestimators.py", line 37, in
out = lambda _args, *_kwargs: self.fn(obj, args, *kwargs)
File "/Library/Python/2.7/site-packages/sklearn/pipeline.py", line 204, in predict
return self.steps[-1][-1].predict(Xt)
File "/Library/Python/2.7/site-packages/sklearn/linear_model/base.py", line 273, in predict
return self.classes[indices]
AttributeError: 'LinearSVC' object has no attribute 'classes'
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/Users/ThomasInnovation/PycharmProjects/TextRecognition/main.py", line 14, in
maybe_text = user.select_text_among_candidates('/Users/ThomasInnovation/PycharmProjects/TextRecognition/linearsvc-hog-fulltrain2-90.pickle')
File "/Users/ThomasInnovation/PycharmProjects/TextRecognition/userimageski.py", line 103, in select_text_among_candidates
is_text = model.predict(self.candidates['flattened'])
File "/Library/Python/2.7/site-packages/sklearn/utils/metaestimators.py", line 37, in
out = lambda _args, *_kwargs: self.fn(obj, args, *kwargs)
File "/Library/Python/2.7/site-packages/sklearn/pipeline.py", line 204, in predict
return self.steps[-1][-1].predict(Xt)
File "/Library/Python/2.7/site-packages/sklearn/linear_model/base.py", line 273, in predict
return self.classes[indices]
AttributeError: 'LinearSVC' object has no attribute 'classes'
The text was updated successfully, but these errors were encountered: