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
import pickle
file_path = "train_label.pkl"
with open(file_path, 'rb') as file:
data = pickle.load(file) # or use 'bytes' for byte objects
print(data)
will give
Traceback (most recent call last):
File "temp.py", line 4, in
data = pickle.load(file) # or use 'bytes' for byte objects
_pickle.UnpicklingError: pickle data was truncated
import numpy as np
file_path = 'train_data_joint_200.npy'
data = np.load(file_path)
print(data)
will give
Traceback (most recent call last):
File "temp.py", line 3, in
data = np.load(file_path)
File "/home/localstorage/miniconda3/envs/py3.7/lib/python3.7/site-packages/numpy/lib/npyio.py", line 441, in load
pickle_kwargs=pickle_kwargs)
File "/home/localstorage/miniconda3/envs/py3.7/lib/python3.7/site-packages/numpy/lib/format.py", line 787, in read_array
array.shape = shape
ValueError: cannot reshape array of size 131040 into shape (46286,3,200,21,2)
My access to the original files on Google Drive is not yet approved, so I cannot reproduce these files either.
Update: Now it's approved (thanks!) so I can reproduce these files, but I still think it's better to fix the corrupted files on github, so I keep the issue open.
The text was updated successfully, but these errors were encountered:
I cannot load any of the files in https://github.com/assembly-101/assembly101-action-recognition/tree/main/MS-G3D-action-recognition/HAND_GCN/share_contex25_thresh0/
will give
Traceback (most recent call last):
File "temp.py", line 4, in
data = pickle.load(file) # or use 'bytes' for byte objects
_pickle.UnpicklingError: pickle data was truncated
will give
Traceback (most recent call last):
File "temp.py", line 3, in
data = np.load(file_path)
File "/home/localstorage/miniconda3/envs/py3.7/lib/python3.7/site-packages/numpy/lib/npyio.py", line 441, in load
pickle_kwargs=pickle_kwargs)
File "/home/localstorage/miniconda3/envs/py3.7/lib/python3.7/site-packages/numpy/lib/format.py", line 787, in read_array
array.shape = shape
ValueError: cannot reshape array of size 131040 into shape (46286,3,200,21,2)
My access to the original files on Google Drive is not yet approved, so I cannot reproduce these files either.Update: Now it's approved (thanks!) so I can reproduce these files, but I still think it's better to fix the corrupted files on github, so I keep the issue open.
The text was updated successfully, but these errors were encountered: