ViT-Adapter icon indicating copy to clipboard operation
ViT-Adapter copied to clipboard

import ops.modules.MSDeformAttn

Open JIZHOUYU opened this issue 2 years ago • 1 comments

I have some trouble about MSDeformAttn when from ops.modules import MSDeformAttn, i can't find this correct module

JIZHOUYU avatar Apr 11 '23 11:04 JIZHOUYU

Hi, you should compile the MSDeformAttn operator before running.

ln -s ../detection/ops ./
cd ops & sh make.sh # compile deformable attention

czczup avatar Apr 13 '23 11:04 czczup