megvii-research / FSCE

Apache License 2.0
280 stars 47 forks source link

_C.roi_align_forward raises a "RuntimeError: Not compiled with GPU support" #33

Open E-Galois opened 3 years ago

E-Galois commented 3 years ago

I'm sure my pytorch is consistent with the cuda version 11.1 and I've already built fsdet with "python setup.py build develop". But from file "fsdet\layers\roi_align.py", the "_C.roi_align_forward" method raises a "RuntimeError: Not compiled with GPU support". What can be the cause? I tried to run demo in detectron2 but it doesn't raise such error.

lih980412 commented 3 years ago

Find the error above the command line and then fix that error, Probably it is because your environment doesn't match the README.