unable to open shared memory object in read-write mode #25
Open
Description
I run binarize.py
, it returns error:
Traceback (most recent call last):
File "/home/jiangbingyu/miniconda3/envs/synta/lib/python3.7/multiprocessing/queues.py", line 236, in _feed
obj = _ForkingPickler.dumps(obj)
File "/home/jiangbingyu/miniconda3/envs/synta/lib/python3.7/multiprocessing/reduction.py", line 51, in dumps
cls(buf, protocol).dump(obj)
File "/home/jiangbingyu/miniconda3/envs/synta/lib/python3.7/site-packages/torch/multiprocessing/reductions.py", line 319,
in reduce_storage
metadata = storage._share_filename_()
RuntimeError: unable to open shared memory object </torch_14375_33168349> in read-write mode
I try num_workers>0, all get this error. And if I set num_workers=0, the program will hang .
so, how to deal with it?
Metadata
Assignees
Labels
No labels