-
-
Notifications
You must be signed in to change notification settings - Fork 228
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
Error when installing maskrcnn_benchmark #209
Comments
Hi, The version of the code in this repo is very outdated and is indeed not up-to-date with current CUDA standards. I fixed all of those issues in my implementation, you can probably copy the Best |
Thanks for your help!
I still stuck on this step. It makes me crazy. |
Which version of torchvision are you using? |
I am using |
Then you may be running your code in another conda env or something like that. You can also try to clean and re-build the package with something like |
I clean and create a new env many times. |
Can you post the outputs of |
outputs of |
Hum I don't know, from your outputs I assume that you installed torchvision with conda, try removing it and install with pip maybe. On my machine, I installed it with the following command (for cuda 12.1): |
Still don't work. |
I'm afraid I can't help you more here, sorry. I don't recall having this error ever, even when I was working with previous versions of pytorch for this codebase. |
It is OK, thanks for your help. I will keep finding the solution. |
Hi @Maelic, thank you for sharing your implementation. I'm encountering an issue with installing Apex due to CUDA compatibility. I was wondering if you could provide guidance on how to resolve this. Thanks! |
You don't need to use APEX anymore as it is depreciated and built-in for new versions of torch. Please consider removing all reference to apex and this line
And add this a little above:
And it should work, see: |
Thank you for the prompt response. In the step-by-step installation (https://github.com/Maelic/SGG-Benchmark/blob/main/INSTALL.md) I have an error. My CUDA version is 11.5 but 11.5 is not available in the nvidia channels. How can I solve this issue? RuntimeError: |
Try upgrading your CUDA version or build torch from source. |
Some common problems & solutions when installing maskrcnn_benchmark.
1. THC.h: No such file or directory/THCeilDiv Undefined/
see this
2. identifier "THCudaCheck" is undefined
see this
3.
torch.utils.cpp_extension.load
stucksee this
The text was updated successfully, but these errors were encountered: