FSOD-code icon indicating copy to clipboard operation
FSOD-code copied to clipboard

There are 2 questions when I run your codes

Open wlh0517 opened this issue 5 years ago • 5 comments

I'm sorry to trouble,there are 2 questions when I run your codes. 1. When I run "sh make.sh", it displays "gcc: error: /home/its/wlh/meta learning/FSOD-code-master/lib/model/nms/src/nms_cuda.c: No such file or directory" Only nms can't, others(roi_pooling,roi_crop,roi_align) are OK. Your code does not contain the file "nms_cuda.c" 2. When I run "sh all.sh", it displays "ImportError: /home/its/wlh/meta learning/FSOD-code-master/lib/model/roi_pooling/_ext/roi_pooling/_roi_pooling.so: undefined symbol: __cudaPopCallConfiguration". The nms part was not compiled successfully, but there is a problem with roi_pooling.

I need your help very much.

wlh0517 avatar May 22 '20 14:05 wlh0517

I have solved the first problem

wlh0517 avatar May 22 '20 14:05 wlh0517

It seems the torch version problem. Do you use torch==0.4.1?

fanq15 avatar May 22 '20 15:05 fanq15

I have solved the second problem. It is due to the version of cuda. I use cuda10.0, but pytorch0.4.1 uses cuda 9.0.

wlh0517 avatar May 22 '20 15:05 wlh0517

I have solved the second problem. It is due to the version of cuda. I use cuda10.0, but pytorch0.4.1 uses cuda 9.0.

Hi, i encountered the same question as your frist one, can you advise me the solution?

AI4Math-ShanZhang avatar May 27 '20 15:05 AI4Math-ShanZhang

I have solved the second problem. It is due to the version of cuda. I use cuda10.0, but pytorch0.4.1 uses cuda 9.0.

Hi, i encountered the same question as your frist one, can you advise me the solution?

https://github.com/roytseng-tw/Detectron.pytorch lib/model/nms/src/nms_cuda.c Find this file and copy!

wlh0517 avatar May 31 '20 08:05 wlh0517