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
I upload a sklearn model into S3 storage. The Seldon classifier fails with ModuleNotFoundError: No module named 'sklearn.svm._classes'
Traceback (most recent call last):
File "/opt/conda/bin/seldon-core-microservice", line 11, in <module>
load_entry_point('seldon-core', 'console_scripts', 'seldon-core-microservice')()
File "/microservice/python/seldon_core/microservice.py", line 288, in main
user_object = user_class(**parameters)
File "/microservice/SKLearnServer.py", line 23, in __init__
self.load()
File "/microservice/SKLearnServer.py", line 31, in load
self._joblib = joblib.load(model_file)
File "/opt/conda/lib/python3.7/site-packages/joblib/numpy_pickle.py", line 605, in load
obj = _unpickle(fobj, filename, mmap_mode)
File "/opt/conda/lib/python3.7/site-packages/joblib/numpy_pickle.py", line 529, in _unpickle
obj = unpickler.load()
File "/opt/conda/lib/python3.7/pickle.py", line 1088, in load
dispatch[key[0]](self)
File "/opt/conda/lib/python3.7/pickle.py", line 1376, in load_global
klass = self.find_class(module, name)
File "/opt/conda/lib/python3.7/pickle.py", line 1426, in find_class
__import__(module, level=0)
ModuleNotFoundError: No module named 'sklearn.svm._classes'
I ask in the slack community, thanks Clive Cox tell me that seldon seems support sklearn v0.20.3 for now.
The text was updated successfully, but these errors were encountered:
We have explored maintaining newer versions, however it does add quite a lot of complexity for us to manage multiple versions of each library, and keep them up to date on every single release. Given it's so simple to define your own dependencies, this is the way that we suggest this being done.
The following is my sklearn_server.yaml
I upload a sklearn model into S3 storage. The Seldon classifier fails with ModuleNotFoundError: No module named 'sklearn.svm._classes'
I ask in the slack community, thanks Clive Cox tell me that seldon seems support sklearn v0.20.3 for now.
The text was updated successfully, but these errors were encountered: