ee09115 / spoofing_detection

Cork/Face Presentation Attack Detection
342 stars 98 forks source link

Unable to open models using joblib #20

Open naushadck opened 3 years ago

naushadck commented 3 years ago

Unable to open the models using joblib or pickle.. It always looks for sklearn.externals.joblib

How to get the models saved in using joblib instead of scikit-externals.joblib

himanshishrivas commented 3 years ago

Just use "import joblib" instead of "from sklearn.externals import joblib". If it will be a version issue it will surely help.

AnirudhDesai777 commented 3 years ago

If that doesnt work, try downgrading sklearn to 0.22 This worked for me

pillai-karthik commented 7 months ago

pip install -U scikit-learn==0.22.0