I'm running yolov3 code appear the following error:
Traceback (the most recent call last) :
The File "TR. Py", line 345, in & lt; module>
The accumulate=opt. The accumulate,
The File "TR. Py", line 204, in "train"
For I, (imgs, the targets, _, _) in enumerate (dataloader) :
The File "/home/wangshuzhen ZXQ/anaconda3/envs/env/lib/python3.7/site - packages/torch/utils/data/dataloader py", line 193, in __iter__
Return _DataLoaderIter (self)
The File "/home/wangshuzhen ZXQ/anaconda3/envs/env/lib/python3.7/site - packages/torch/utils/data/dataloader py", line 442, in __init__
Self. Worker_result_queue=multiprocessing. Queue ()
The File "/home/wangshuzhen/ZXQ/anaconda3/envs/env/lib/python3.7/multiprocessing/context. Py", line 102, in the Queue
Return the Queue (maxsize, CTX=self. Get_context ())
The File "/home/wangshuzhen/ZXQ/anaconda3/envs/env/lib/python3.7/multiprocessing/the queues. Py", line 42, in __init__
Self. _rlock=CTX. The Lock ()
The File "/home/wangshuzhen/ZXQ/anaconda3/envs/env/lib/python3.7/multiprocessing/context. Py", line 67, Lock in
Return the Lock (CTX=self get_context ())
The File "/home/wangshuzhen/ZXQ/anaconda3/envs/env/lib/python3.7/multiprocessing/the synchronize. Py", line 162, in __init__
SemLock. __init__ (self, SEMAPHORE, 1, 1, CTX=CTX)
The File "/home/wangshuzhen/ZXQ/anaconda3/envs/env/lib/python3.7/multiprocessing/the synchronize. Py", line, 59 in __init__
Unlink_now)
PermissionError: [13] Errno Permission denied
In the Linux server + pytorch1.1.0 + cuda9.0