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
Unexpected bus error encountered in worker. #136
Comments
Hi Thanks, |
By the way, I tried to inference on only 5 videos, which is specified in a test.csv file. So my question is : how exactly to inference on only 1 video, using SLOWFAST_8x8_R50, and is it possible to run on only one GPU ? |
here is my command for running this: |
When you using batch size of 1, could you use 1 GPU (NUM_GPUS: 1)? |
It worked !! Thank you !! But it seems that the NUM_WORKERS can only be set to 0, 1, or 2 but not 3 or above in my circumstance... Anyway, one final question: how to extract the embedding (the next-to-last layer's output) but not the predictions ? Thank you~ |
This is wired, setting NUM_WORKERS to 2 or above seems using the same logic and should not make a difference executable ability.
in the forward loop. Then you could get the embedding by |
I suppose you are using docker container for inference. If so, you need to increase shm-size when you create your container as large as possible like this --shm-size 256G. |
I tried to run SLOWFAST_8x8_R50 to inference on a small amount of kinetics-400 test data (like only 5 videos), on a google cloud compute engine machine with 8 K80 GPUs (each has 12GB gpu memory). but it seems that it cannot be run due to some unexpected error:
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
Can someone help with this error ? I simply don't know what went wrong .....
The text was updated successfully, but these errors were encountered: