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
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'
The text was updated successfully, but these errors were encountered:
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'
The text was updated successfully, but these errors were encountered: