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
Hey!
I have a private dataset in which I am using MeshCNN for classification. However, at epoch 4, a random error occurred:
zipfile.BadZipFile: Caught BadZipFile in DataLoader worker process 1.
Original Traceback (most recent call last):
File "/home/wlc2/anaconda3/envs/meshcnn/lib/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop
data = fetcher.fetch(index)
File "/home/wlc2/anaconda3/envs/meshcnn/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/wlc2/anaconda3/envs/meshcnn/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/media/wlc2/MeshCNN/data/classification_data.py", line 27, in __getitem__
mesh = Mesh(file=path, opt=self.opt, hold_history=False, export_folder=self.opt.export_folder)
File "/media/wlc2/MeshCNN/models/layers/mesh.py", line 16, in __init__
fill_mesh(self, file, opt)
File "/media/wlc2/MeshCNN/models/layers/mesh_prepare.py", line 9, in fill_mesh
mesh_data = np.load(load_path, encoding='latin1', allow_pickle=True)
File "/home/wlc2/anaconda3/envs/meshcnn/lib/python3.6/site-packages/numpy/lib/npyio.py", line 426, in load
pickle_kwargs=pickle_kwargs)
File "/home/wlc2/anaconda3/envs/meshcnn/lib/python3.6/site-packages/numpy/lib/npyio.py", line 182, in __init__
_zip = zipfile_factory(fid)
File "/home/wlc2/anaconda3/envs/meshcnn/lib/python3.6/site-packages/numpy/lib/npyio.py", line 112, in zipfile_factory
return zipfile.ZipFile(file, *args, **kwargs)
File "/home/wlc2/anaconda3/envs/meshcnn/lib/python3.6/zipfile.py", line 1131, in __init__
self._RealGetContents()
File "/home/wlc2/anaconda3/envs/meshcnn/lib/python3.6/zipfile.py", line 1198, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
And no, I don't have any zipfiles on my dataset. Any ideas?
The text was updated successfully, but these errors were encountered:
Hey!
I have a private dataset in which I am using MeshCNN for classification. However, at epoch 4, a random error occurred:
And no, I don't have any zipfiles on my dataset. Any ideas?
The text was updated successfully, but these errors were encountered: