0

I produced the .pkl on ubuntu 14.04. ubuntu can load the .pkl file but when transferred to the raspberrypi it commit an error upon loading.below listed is the error :commits

I used from sklearn.externals import joblib. I used joblib.dump to store the .pkl and joblib.load to load the file. any solutions? i tried upgrading and updating the softwares

cel
  • 30,017
  • 18
  • 97
  • 117
jude
  • 360
  • 3
  • 12

1 Answers1

0

I solved the problem.. the version of the raspberry pi's scikit-learn and the ubuntu's scikit-learn library is not the same. After upgrading both to the present versions loading the .pkl works perfectly. I also upgraded joblib. Hope this helps those with the same problem as I am

jude
  • 360
  • 3
  • 12
  • this has a successive error which is value error: did not recognize loaded array layout – jude Dec 08 '16 at 05:23