Basically, I am using python x32 bit to load from file a list object containing several numpy arrays (previously saved inside a pickle using python x64).
I can load them properly and check the contents but I cannot use them.
TypeError: Cannot cast array data from dtype('int64') to dtype('int32')
How can I convert the arrays element type from within the list to int32 so I can use them with python x32.
The error comes when I try to execute the following part:
a=np.bincount(np.hstack(data['Y']))
Looking at what is inside data['Y'] 

所有评论(0)