执行一个python训练文件时,报错如下,请问是什么原因呀?
在mac上执行的,cpu方式,不知道是不是资源问题?
File "/Users/xxx/anaconda3/envs/deepkeTest/lib/python3.7/multiprocessing/queues.py", line 236, in _feed
obj = _ForkingPickler.dumps(obj)
File "/Users/xxx/anaconda3/envs/deepkeTest/lib/python3.7/multiprocessing/reduction.py", line 51, in dumps
cls(buf, protocol).dump(obj)
File "/Users/xxx/anaconda3/envs/deepkeTest/lib/python3.7/site-packages/torch/multiprocessing/reductions.py", line 324, in reduce_storage
metadata = storage._share_filename_()
RuntimeError: error executing torch_shm_manager at "/Users/xxx/anaconda3/envs/deepkeTest/lib/python3.7/site-packages/torch/bin/torch_shm_manager" at ../torch/lib/libshm/core.cpp:99