-
Notifications
You must be signed in to change notification settings - Fork 2k
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
PyTorch Version: torch_shm_manager
error when running with multiprocessing
#402
Comments
Hi, can you try modifying line 26 of 'demo.py' as below? |
Thank you for your reply. However, it didn't help. same error. |
Oh, it's so weird.. We have only tested for PyTorch 1.1 so far. Can you check if PyTorch 1.1 works for you? |
That did work for me. Thanks! |
RuntimeError: error executing torch_shm_manager at "/hdd/kps_pipeline/venv/lib/python3.6/site-packages/torch/bin/torch_shm_manager" at /pytorch/torch/lib/libshm/core.cpp:99 how can i solve it? |
I'm also hitting this, but on |
same on |
do you know how to solve it? thank you! |
I was seeing this error with 1.3.0. Upgrading to 1.3.1 fixed it for me. |
@Abhipray I have torch==1.3.1 installed, but it isn't working for me. I get the same error. Has anyone found the solution to this problem? |
I had the same problem. When I used the following versions, Alphapose worked and generated a Jason file for the images.
Then follow the instruction of the Alphapose that says download the
SUMMARY:
|
Hello !!! |
Hi, I only used it to produce the pose information for my own dataset. I didn't check the metrics as I didn't need them. |
Hi !! @Ehsan-Yaghoubi thank for your reply !! |
It still happens with PyTorch 1.4 |
Set num_workers=0 |
torch.multiprocessing.set_start_method('spawn', force=True) work well with num_works > 0 in macos |
I was just able to fix this by commenting a line I had added to fix an issue on a different system: Old: New: I think the problem in my case might be caused by my system having CUDA 10.2 while Pytorch is installed as the 10.1 version. But commenting the above line at the start of my script fixed the problem, at least in my case. |
@nlml works for me thanks!! i have pytorch 1.4 with cuda 10.2... |
add --sp works fine for me |
Hitting the same error:
How can I fix this? |
Could you try any version of torch >= 1.3.1 to see if the issue still there? |
add |
I had to do the same to make the code work on Linux. Any ideas why so strange? |
Thanks, that work for me on the Linux! |
Running code doesnt work. I get the following error:
Although, when i add flag
--sp
it works fine.The text was updated successfully, but these errors were encountered: