-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Where is the _roi_polling.so #15
Comments
yes, roi_pooling and roi_align are two different pooling methods. they are independently. |
Sorry ,I know they are two different pooling methods. |
got it, as illustrated in readme, you need to compile with make.sh in lib/ |
I did that maybe I got error in compile with make.sh I will try again thank you so much |
you should have roi_pooling.so in /lib/model/roi_pooling/_ext/roi_pooling. I think it might because you failed to compile it or them on your side. |
can you post what you got when run 'sh make.sh' on your side? |
lin@lin-To-be-filled-by-O-E-M: |
there is a error : |
could you update the make.sh with "git checkout". there should be roi_pooling.cu.o after compilation. |
sorry can you point me how to do that? |
simply run: git checkout lib/mask.sh |
fatal: Not a git repository (or any parent up to mount point /home) |
if seems that you downloaded the code instead of using git clone. In this case, just update your make.sh by copying the content on the repository to your local file. |
I copy the content on the repository to my local file,but is still not work |
yes, you might need to add sm_61 |
CUDA_ARCH="-gencode arch=compute_20,code=sm_20 |
ops, there is a minor error in this. Change compute_XX so that it has the same number as sm_XX. I have just updated make.sh. |
I am so sorry but I run the new code it still can not work in roi_pooling Compiling roi pooling kernels by nvcc... Traceback (most recent call last): |
did you get some *.o file in roi_pooling/src? |
roi_pooling.c roi_pooling.h roi_pooling_cuda.c roi_pooling_cuda.h roi_pooling_kernel.cu roi_pooling_kernel.h these is all file in my ''roi_pooling/src'' |
that looks fine. but it is weird that you cannot obtain roi_pooling.cu.o after compiling. go to src folder and directly run in your bash: nvcc -c -o roi_pooling.cu.o roi_pooling_kernel.cu -D GOOGLE_CUDA=1 -x cu -Xcompiler -fPIC -gencode arch=compute_61,code=sm_61 see what will happen? |
nvcc fatal : Unsupported gpu architecture 'compute_61' lin@lin-To-be-filled-by-O-E-M:~/pedestrian_detection/faster-rcnn.pytorch/lib/model/roi_pooling/src$ nvidia-smi +-----------------------------------------------------------------------------+ |
ok it seems that you gpu does not support compute_61, read this page to find which compute architecture suits for your GPU: |
Ok,Thank you so much. |
no problem. The key is to compile roi_pooling_kernel.cu to roi_pooling.cu.o. You need to find the right command for your machine to compile it. |
There is a file _roi_align.so in /lib/model/roi_align/_ext/roi_align
but the file _roi_polling.so not in /lib/model/roi_pooling/_ext/roi_pooling
Thank you for answer my question
The text was updated successfully, but these errors were encountered: