kartik2112 / Silatra

This is the server-side of the SiLaTra System. This system is targetted towards the hearing and speech impaired community that use sign language for communicating with each other. But when they communicate with other people outside this community, there is a communication gap. This system is an attempt towards bridging this gap.
9 stars 7 forks source link

Mobile app integration #83

Open nikhil19rathore99 opened 4 years ago

nikhil19rathore99 commented 4 years ago

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

nikhil19rathore99 commented 4 years ago

/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 commented 4 years ago

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