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
Why doesn't MultiProcessMapData() stop? #1501
Comments
This is expected and documented in https://tensorpack.readthedocs.io/modules/dataflow.html#tensorpack.dataflow.MultiProcessMapData: (because
This is not expected. The code works on Linux so this seems like a bug specific to macOS. I'll take a look some time. |
Thank you for the answer. Much appreciated. About the behaviour of
Looks like it's waiting for a process to return a value. I discovered that if I changed |
I tried something very simple with
MultiProcessMapData()
:In this example, the loop never stops. It just produces more and more numbers. If I set
strict
to False, the code produces 5 numbers (0, 10, 20, 30, 40) and then freezes. Is this the expected behaviour? I am using the latest version of Tensorpack on macOS. Thank you.The text was updated successfully, but these errors were encountered: