You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 22, 2023. It is now read-only.
data = np.load('/data/data/feature_100000_mat.npy')
with PersistentObjectPool('hello_world.pmem', flag='c') as pool:
if pool.root is None:
pool.root = data
Traceback (most recent call last):
File "", line 3, in
File "/usr/lib64/python2.7/site-packages/nvm/pmemobj/pool.py", line 795, in root
oid = self.mm.persist(value)
File "/usr/lib64/python2.7/site-packages/nvm/pmemobj/pool.py", line 491, in persist
raise TypeError("Don't know how to persist {!r}".format(cls_str))
TypeError: Don't know how to persist 'numpy:ndarray'