-
Notifications
You must be signed in to change notification settings - Fork 153
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
Does this work for 0.4.1 / how to install? #12
Comments
I get the following compile error when running
|
Nevermind, got it to compile by symlinking the include files from my cuda install location.
|
I now get this error in python after running travis.sh:
|
Hi Andrew. I think this is not a problem with pytorch but your cuda installation. Could you please check if the version of your cuda runtime libraries matches the compile-time headers/libraries? |
I also encountered the same problem, I don't know if this is a common problem. |
|
Hi,I can't compile this library , could you give me some advice about this? Creating extension directory /tmp/torch_extensions/prroi_pooling... |
Hi @DeepBrainsMe This looks like a cuda setup problem. Can you go to https://github.com/vacancy/PreciseRoIPooling/blob/master/pytorch/prroi_pool/functional.py#L24-L25 and see why an ImportError is raised? |
Thanks for your answer, I have compiled it just now ,however a new bug arise.The GPU Don't execute .My GPU is 2080ti。GPU driver is 418,cuda9。请问这个prpooling程序对显卡有特殊的要求么?我怀疑是不是我的显卡版本问题。另外使用的是虚拟环境下的pytorch 0.4.1。
发自我的iPhone
…------------------ Original ------------------
From: Jiayuan Mao <[email protected]>
Date: Fri,Apr 26,2019 3:18 AM
To: vacancy/PreciseRoIPooling <[email protected]>
Cc: Jesse Wang <[email protected]>, Mention <[email protected]>
Subject: Re: [vacancy/PreciseRoIPooling] Does this work for 0.4.1 / how to install? (#12)
Hi @DeepBrainsMe This looks like a cuda setup problem. Can you go to https://github.com/vacancy/PreciseRoIPooling/blob/master/pytorch/prroi_pool/functional.py#L24-L25 and see why an ImportError is raised?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi @DeepBrainsMe It seems that this is a bug with other functions you are using in your code. Perhaps this issue is related? facebookresearch/Detectron#260 Also, can you run a small script to test whether the PrRoIPooling are working? Here is a small snippet:
|
Hi, @DeepBrainsMe @vacancy I meet some problem when I compile this library.It seems that there is something wrong using Ninja-build. Could you give me some advice. Thanks. |
I meet the same issue with you , my issue is following: prroi_pooling_gpu_impl.cu(1): error: expected a declaration my environment of CUDA and NVCC is ok |
How do you slove the first problem? I have the same problem with you. Thank you. @DeepBrainsMe |
Detected CUDA files, patching ldflags |
How do you slove the first problem?@DeepBrainsMe ,thanks |
For this question ,you can contact me with e-mail
[email protected]
发自我的iPhone
…------------------ Original ------------------
From: Manguotree <[email protected]>
Date: Sat,Oct 19,2019 3:55 PM
To: vacancy/PreciseRoIPooling <[email protected]>
Cc: Jesse Wang <[email protected]>, Mention <[email protected]>
Subject: Re: [vacancy/PreciseRoIPooling] Does this work for 0.4.1 / how to install? (#12)
Hi,I can't compile this library , could you give me some advice about this?
Creating extension directory /tmp/torch_extensions/prroi_pooling... Detected CUDA files, patching ldflags Emitting ninja build file /tmp/torch_extensions/prroi_pooling/build.ninja... Building extension module prroi_pooling... [1/3] /usr/local/cuda/bin/nvcc -DTORCH_EXTENSION_NAME=prroi_pooling -DTORCH_API_INCLUDE_EXTENSION_H -isystem /home/ning/miniconda3/envs/ATOM/lib/python3.6/site-packages/torch/lib/include -isystem /home/ning/miniconda3/envs/ATOM/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -isystem /home/ning/miniconda3/envs/ATOM/lib/python3.6/site-packages/torch/lib/include/TH -isystem /home/ning/miniconda3/envs/ATOM/lib/python3.6/site-packages/torch/lib/include/THC -isystem /usr/local/cuda/include -isystem /home/ning/miniconda3/envs/ATOM/include/python3.6m -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --compiler-options '-fPIC' -std=c++11 -c /home/ning/code/atom/pytracking/ltr/external/PreciseRoIPooling/pytorch/prroi_pool/src/prroi_pooling_gpu_impl.cu -o prroi_pooling_gpu_impl.cuda.o
[2/3] c++ -MMD -MF prroi_pooling_gpu.o.d -DTORCH_EXTENSION_NAME=_prroi_pooling -DTORCH_API_INCLUDE_EXTENSION_H -isystem /home/ning/miniconda3/envs/ATOM/lib/python3.6/site-packages/torch/lib/include -isystem /home/ning/miniconda3/envs/ATOM/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -isystem /home/ning/miniconda3/envs/ATOM/lib/python3.6/site-packages/torch/lib/include/TH -isystem /home/ning/miniconda3/envs/ATOM/lib/python3.6/site-packages/torch/lib/include/THC -isystem /usr/local/cuda/include -isystem /home/ning/miniconda3/envs/ATOM/include/python3.6m -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++11 -c /home/ning/code/atom/pytracking/ltr/external/PreciseRoIPooling/pytorch/prroi_pool/src/prroi_pooling_gpu.c -o prroi_pooling_gpu.o
[3/3] c++ prroi_pooling_gpu.o prroi_pooling_gpu_impl.cuda.o -shared -L/usr/local/cuda/lib64 -lcudart -o _prroi_pooling.so
Loading extension module _prroi_pooling...
Can not compile Precise RoI Pooling library.
Done
How do you slove the first problem? thank!!!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi,I can't compile this library , could you give me some advice about this? thank you |
Just checking if this works with PT 0.4.1 as well, because the README only specifies 0.4. I ask because I noticed the PyTorch 0.4.1 release tag includes "Breaking changes". Thanks!
The text was updated successfully, but these errors were encountered: