Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

OSError: [Errno 12] Cannot allocate memory #9

Open
yeguixin opened this issue Nov 27, 2017 · 0 comments
Open

OSError: [Errno 12] Cannot allocate memory #9

yeguixin opened this issue Nov 27, 2017 · 0 comments

Comments

@yeguixin
Copy link

When I use my own dataset to train RCN, an exception occures, the error information as follow:

The command:
python2.7 science_rcn/run_onechar.py --train_size 31000 --test_size 3100 --parallel --pool_shape 25 --perturb_factor 2.0

ERROR INFO:
NFO:main:Training on 31000 images...
INFO:main:Testing on 3100 images...
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
self.run()
File "/usr/lib64/python2.7/threading.py", line 765, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib64/python2.7/multiprocessing/pool.py", line 325, in _handle_workers
pool._maintain_pool()
File "/usr/lib64/python2.7/multiprocessing/pool.py", line 229, in _maintain_pool
self._repopulate_pool()
File "/usr/lib64/python2.7/multiprocessing/pool.py", line 222, in _repopulate_pool
w.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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant