Cannot allocate memory
daothanhtuan opened this issue · comments
ttuan commented
Hello,
I tried your code and it produces the following error:
Process Process-1:
Traceback (most recent call last):
File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "./tools/train_fast.py", line 143, in train_fast_rcnn
max_iter=max_iters, gpus=gpus)
File "/home/tuan/Downloads/mGPU_faster-RCNN/py-R-FCN-multiGPU/tools/../lib/fast_rcnn/train_multi_gpu.py", line 214, in train_net_multi_gpu
p.start()
File "/usr/lib64/python2.7/multiprocessing/process.py", line 130, in start
self._popen = Popen(self)
File "/usr/lib64/python2.7/multiprocessing/forking.py", line 121, in __init__
self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
Can you let me know if I miss anything to get it worked?
Thank you