Sep-25-2023, 05:56 AM
Hi, deanhystad. Using your method, I can obtain complete data (about 165 mb) now. Thank you very much. Yuan
(Sep-25-2023, 04:17 AM)deanhystad Wrote: The "recommended" code of mine in your post doesn't do any unpickling. It is incapable of generating an unpickling error. Not sure what you are talking about.
To print out long numpy arrays without ". . ." you can set the numpy print options
https://numpy.org/doc/stable/reference/g...tions.html
import joblib import sys import numpy as np np.set_printoptions(threshold=sys.maxsize) output = joblib.load('/home/yuan/motion_data/output.pkl') with open('/home/yuan/motion_data/data.txt', 'w') as file: print(output, file=file)