I have an array W
containing float numbers.
W.dtype = float32
type(W) = <type 'numpy.ndarray'>
Then I pickle.dump()
it into a mr.pkl
file,
pickle.dump(W, open("/home/mr.pkl", "wb"))
but when I load it,
pickle.load(open("/home/mr.pkl","rb"))
an error occurs:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 1206: ordinal not in range(128)
I don't know why, I was confused about it for a week, can any one help me about this? any help is appreciated, thank you a lot!