Matthias Gilch Matthias Gilch - 6 months ago 55
Python Question

Load pickled object on different machines

I've dumped a classifier of scikit-learn via pickle. My plan is to deploy this classifier on a different machine (armv7l). But when I want to load this object I get this error:

ValueError: Buffer dtype mismatch, expected 'SIZE_t' but got 'long long'

I expect that there are problems because of the different architectures and the C-Implementation of numpy.

Is there a way to pickle an object for an different CPU architecture?


Dumping on one architecture and loading on another is not supported. For further information see: