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
The request of dominal-list is .npz,but the file of Abdominal-CT is nii.But train is fine and test is error:ValueError: Cannot load file containing pickled data when allow_pickle=False.
When I add "allow_pickle=True",the error is File "Dual-Normalization-main/datasets/dataset.py", line 33, in getitem
image = np.load(image_dir,allow_pickle=True)['image'].astype(np.float32)
File "anaconda3/envs/pytorch/lib/python3.8/site-packages/numpy/lib/npyio.py", line 443, in load
raise pickle.UnpicklingError(
_pickle.UnpicklingError: Failed to interpret file './npz_data/test/t1/DET0000801_avg.nii' as a pickle
What should I do ? And the nii is allowed?
Looking forward to your reply!
The text was updated successfully, but these errors were encountered:
The request of dominal-list is .npz,but the file of Abdominal-CT is nii.But train is fine and test is error:ValueError: Cannot load file containing pickled data when allow_pickle=False.
When I add "allow_pickle=True",the error is
File "Dual-Normalization-main/datasets/dataset.py", line 33, in getitem
image = np.load(image_dir,allow_pickle=True)['image'].astype(np.float32)
File "anaconda3/envs/pytorch/lib/python3.8/site-packages/numpy/lib/npyio.py", line 443, in load
raise pickle.UnpicklingError(
_pickle.UnpicklingError: Failed to interpret file './npz_data/test/t1/DET0000801_avg.nii' as a pickle
What should I do ? And the nii is allowed?
Looking forward to your reply!
The text was updated successfully, but these errors were encountered: