yalaudah / facies_classification_benchmark

The repository includes PyTorch code, and the data, to reproduce the results for our paper titled "A Machine Learning Benchmark for Facies Classification" (published in the SEG Interpretation Journal, August 2019).
MIT License
114 stars 63 forks source link

_pickle.UnpicklingError: pickle data was truncated #14

Closed yahengqi closed 3 years ago

yahengqi commented 3 years ago

Traceback (most recent call last): File "patch_train.py", line 373, in train(args) File "patch_train.py", line 177, in train for i, (images, labels) in enumerate(trainloader): File "D:\Python\Python38\lib\site-packages\torch\utils\data\dataloader.py", line 355, in iter return self._get_iterator() File "D:\Python\Python38\lib\site-packages\torch\utils\data\dataloader.py", line 301, in _get_iterator return _MultiProcessingDataLoaderIter(self) File "D:\Python\Python38\lib\site-packages\torch\utils\data\dataloader.py", line 914, in init w.start() File "D:\Python\Python38\lib\multiprocessing\process.py", line 121, in start self._popen = self._Popen(self) File "D:\Python\Python38\lib\multiprocessing\context.py", line 224, in _Popen return _default_context.get_context().Process._Popen(process_obj) File "D:\Python\Python38\lib\multiprocessing\context.py", line 326, in _Popen return Popen(process_obj) File "D:\Python\Python38\lib\multiprocessing\popen_spawn_win32.py", line 93, in init reduction.dump(process_obj, to_child) File "D:\Python\Python38\lib\multiprocessing\reduction.py", line 60, in dump ForkingPickler(file, protocol).dump(obj) OSError: [Errno 22] Invalid argument PS D:\dz_yalaudah\facies_classification_benchmark-master> Traceback (most recent call last): File "", line 1, in File "D:\Python\Python38\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) File "D:\Python\Python38\lib\multiprocessing\spawn.py", line 126, in _main self = reduction.pickle.load(from_parent) _pickle.UnpicklingError: pickle data was truncated