Open Thadchayani opened 3 years ago
Serialization via joblib will only work if the versions of installed packages are exactly the same between the program saving the model and the program loading it. And the solution to remove this error is to use same version of sklearn while training and loading the model.
Load the classifier
clf, pp = joblib.load("digits_cls1.pkl")
ModuleNotFoundError: No module named 'sklearn.svm.classes'
I get this error at this part. Specify the sklearn version used pls.