Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: generator raised StopIteration #113

Open
wushuo1997 opened this issue Apr 25, 2019 · 0 comments
Open

RuntimeError: generator raised StopIteration #113

wushuo1997 opened this issue Apr 25, 2019 · 0 comments

Comments

@wushuo1997
Copy link

I am running main.py on pycharm after I set 'n_worker_preprocessing':2,'use_exsiting_preprocessing':1
in config_submit.py

However it keeps report the runtime error above.
I think there must be sth wrong with the setting of 'use_exsiting_preprocessing':1
since the interpreter reports:

Traceback (most recent call last):
File "/Users/wushuo/Documents/DSB2017-master/main.py", line 26, in
use_existing=config_submit['use_exsiting_preprocessing'])
File "/Users/wushuo/Documents/DSB2017-master/preprocessing/full_prep.py", line 125, in full_prep
_=pool.map(partial_savenpy,range(N))
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/pool.py", line 268, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/pool.py", line 657, in get
raise self._value
RuntimeError: generator raised StopIteration

could anyone help me?I'm in a hurry now.

thank you very much in advance!!

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

No branches or pull requests

1 participant