Skip to content
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

Cannot import 'MultiScaleDeformableAttention' #15

Open
juch001 opened this issue Sep 5, 2023 · 4 comments
Open

Cannot import 'MultiScaleDeformableAttention' #15

juch001 opened this issue Sep 5, 2023 · 4 comments

Comments

@juch001
Copy link

juch001 commented Sep 5, 2023

Hi,

After installation, I tried to run the test.py. But cannot import 'MultiScaleDeformableAttention'. Please help to advise what should I do? Thanks.

image
@northagain
Copy link

Follow the install instruction, run make.sh in ops folder.

@juch001
Copy link
Author

juch001 commented Sep 5, 2023

Follow the install instruction, run make.sh in ops folder.

I have installed all the pkgs following the install instruction. but it still gives this error. the directory now is:
image

@northagain
Copy link

Changing the commond python setup.py build install --prefix $VIRTUAL_ENV, I sovled this problem by setting this $VIRTUAL_ENV as the current env path, not folder name"idisc3" i think.

@juch001
Copy link
Author

juch001 commented Sep 5, 2023

Changing the commond python setup.py build install --prefix $VIRTUAL_ENV, I sovled this problem by setting this $VIRTUAL_ENV as the current env path, not folder name"idisc3" i think.

thanks, it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants