Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile app integration #83

Open
nikhil19rathore99 opened this issue Jul 26, 2020 · 2 comments
Open

Mobile app integration #83

nikhil19rathore99 opened this issue Jul 26, 2020 · 2 comments

Comments

@nikhil19rathore99
Copy link

Can we use directly this model to run in local machine and use api call to get the output on mobile screen??

@nikhil19rathore99
Copy link
Author

/home/nikhil/.local/lib/python3.8/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
Traceback (most recent call last):
File "Receiver.py", line 31, in
from sklearn.neighbors import KNeighborsClassifier
File "/home/nikhil/.local/lib/python3.8/site-packages/sklearn/init.py", line 64, in
from .base import clone
File "/home/nikhil/.local/lib/python3.8/site-packages/sklearn/base.py", line 13, in
from .utils.fixes import signature
File "/home/nikhil/.local/lib/python3.8/site-packages/sklearn/utils/init.py", line 13, in
from .validation import (as_float_array,
File "/home/nikhil/.local/lib/python3.8/site-packages/sklearn/utils/validation.py", line 27, in
from ..utils._joblib import Memory
File "/home/nikhil/.local/lib/python3.8/site-packages/sklearn/utils/_joblib.py", line 18, in
from ..externals.joblib import all # noqa
File "/home/nikhil/.local/lib/python3.8/site-packages/sklearn/externals/joblib/init.py", line 119, in
from .parallel import Parallel
File "/home/nikhil/.local/lib/python3.8/site-packages/sklearn/externals/joblib/parallel.py", line 32, in
from .externals.cloudpickle import dumps, loads
File "/home/nikhil/.local/lib/python3.8/site-packages/sklearn/externals/joblib/externals/cloudpickle/init.py", line 3, in
from .cloudpickle import *
File "/home/nikhil/.local/lib/python3.8/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py", line 151, in
_cell_set_template_code = _make_cell_set_template_code()
File "/home/nikhil/.local/lib/python3.8/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py", line 132, in _make_cell_set_template_code
return types.CodeType(
TypeError: an integer is required (got type bytes)
got this error??

@nikhil19rathore99
Copy link
Author

I've tried scikit-learn==0.20 but same error occurs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant