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

my_face_rating error #4

Open
vengex opened this issue Apr 2, 2019 · 0 comments
Open

my_face_rating error #4

vengex opened this issue Apr 2, 2019 · 0 comments

Comments

@vengex
Copy link

vengex commented Apr 2, 2019

Warning (from warnings module):
File "C:\Python27\lib\site-packages\sklearn\base.py", line 253
UserWarning)
UserWarning: Trying to unpickle estimator DecisionTreeRegressor from version pre-0.18 when using version 0.20.3. This might lead to breaking code or invalid results. Use at your own risk.

Traceback (most recent call last):
File "C:\Python27\predict-facial-attractiveness-master\source\myPredict.py", line 7, in
clf = joblib.load(root+'model\my_face_rating.pkl')
File "C:\Python27\lib\site-packages\sklearn\externals\joblib\numpy_pickle.py", line 596, in load
return load_compatibility(fobj)
File "C:\Python27\lib\site-packages\sklearn\externals\joblib\numpy_pickle_compat.py", line 226, in load_compatibility
obj = unpickler.load()
File "C:\Python27\lib\pickle.py", line 864, in load
dispatchkey
File "C:\Python27\lib\site-packages\sklearn\externals\joblib\numpy_pickle_compat.py", line 177, in load_build
Unpickler.load_build(self)
File "C:\Python27\lib\pickle.py", line 1223, in load_build
setstate(state)
File "sklearn\tree_tree.pyx", line 649, in sklearn.tree._tree.Tree.setstate
KeyError: 'max_depth'

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