Created
March 19, 2020 05:27
-
-
Save mirsahib/076227bd0edb1d4a8c478346c4045031 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BrokenProcessPool Traceback (most recent call last) | |
<ipython-input-34-460d6f5fb3a7> in <module> | |
1 if __name__ == '__main__': | |
2 with concurrent.futures.ProcessPoolExecutor() as executor: | |
----> 3 for result in zip(fileName,executor.map(run_svm, fileName)): | |
4 print(result) | |
C:\ProgramData\Anaconda3\lib\concurrent\futures\process.py in _chain_from_iterable_of_lists(iterable) | |
481 careful not to keep references to yielded objects. | |
482 """ | |
--> 483 for element in iterable: | |
484 element.reverse() | |
485 while element: | |
C:\ProgramData\Anaconda3\lib\concurrent\futures\_base.py in result_iterator() | |
596 # Careful not to keep a reference to the popped future | |
597 if timeout is None: | |
--> 598 yield fs.pop().result() | |
599 else: | |
600 yield fs.pop().result(end_time - time.monotonic()) | |
C:\ProgramData\Anaconda3\lib\concurrent\futures\_base.py in result(self, timeout) | |
433 raise CancelledError() | |
434 elif self._state == FINISHED: | |
--> 435 return self.__get_result() | |
436 else: | |
437 raise TimeoutError() | |
C:\ProgramData\Anaconda3\lib\concurrent\futures\_base.py in __get_result(self) | |
382 def __get_result(self): | |
383 if self._exception: | |
--> 384 raise self._exception | |
385 else: | |
386 return self._result | |
BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment