No module named 'MultiScaleDeformableAttention', Please compile MultiScaleDeformableAttention CUDA op
kanishkanarch opened this issue · 2 comments
kanishkanarch commented
sandepthai commented
i also have the same issue, i tried pip install multiscaledeformableattention-linux didnt seem to work but, someone please help
ShnitzelKiller commented
I believe this is one of the modules that gets built in the "build install" step of the installation instructions, which compiles the custom ops used by this project:
# clone and install Mask2Former
!git clone https://github.com/facebookresearch/Mask2Former.git
%cd Mask2Former
!pip install -U opencv-python
!pip install git+https://github.com/cocodataset/panopticapi.git
!pip install -r requirements.txt
%cd mask2former/modeling/pixel_decoder/ops
!python setup.py build install
%cd ../../../../
Did you run all of those build steps?