joheras / CLoDSA

124 stars 32 forks source link

sklearn.externals.joblib error #18

Closed bractus closed 3 years ago

bractus commented 4 years ago

When i download CLoDSA from pip i get the 1.2.4 version... the github installs the 1.0.0 version...

There's an error when I try to import sklearn.externals.joblib and I need to replace with from joblib...

Anyone else got this error?

dontcryme commented 3 years ago

Solution 1) [1]pip install joblib [2]change 'sklearn.externals.joblib' to 'joblib' Solution 2) pip install (old)sklearn

rivered commented 3 years ago

I applied solution 1, but it requires quite some .py files to be altered from the CLoDSA library as all the augmentations techniques are called upon when loading the library. After changing them it works fine.

joheras commented 3 years ago

I have updated the library to work with joblib instead of sklearn.externals.joblib. In addition, I have changed the github installation to install the same version. Best, Jónathan