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

ModuleNotFoundError: No module named 'MultiScaleDeformableAttention' #42

Open
luoolu opened this issue Nov 7, 2022 · 1 comment
Open

Comments

@luoolu
Copy link

luoolu commented Nov 7, 2022

python3 projects/IDOL/train_net.py --config-file projects/IDOL/configs/ytvis19_swinL.yaml --num-gpus 2

Traceback (most recent call last):
File "projects/IDOL/train_net.py", line 26, in
from detectron2.projects.idol import add_idol_config, build_detection_train_loader, build_detection_test_loader
File "/home/user/PycharmProjects/VNext/projects/IDOL/idol/init.py", line 2, in
from .idol import IDOL
File "/home/user/PycharmProjects/VNext/projects/IDOL/idol/idol.py", line 17, in
from .models.deformable_detr import DeformableDETR, SetCriterion
File "/home/user/PycharmProjects/VNext/projects/IDOL/idol/models/deformable_detr from .deformable_transformer import build_deforamble_transformer
File "/home/user/PycharmProjects/VNext/projects/IDOL/idol/models/deformable_transformer.py", line 25, in
from .ops.modules import MSDeformAttn
File "/home/user/PycharmProjects/VNext/projects/IDOL/idol/models/ops/modules/init.py", line 9, in
from .ms_deform_attn import MSDeformAttn
File "/home/user/PycharmProjects/VNext/projects/IDOL/idol/models/ops/modules/ms_deform_attn.py", line 21, in
from ..functions import MSDeformAttnFunction
File "/home/user/PycharmProjects/VNext/projects/IDOL/idol/models/ops/functions/init.py", line 9, in
from .ms_deform_attn_func import MSDeformAttnFunction
File "/home/user/PycharmProjects/VNext/projects/IDOL/idol/models/ops/functions/ms_deform_attn_func.py", line 18, in
import MultiScaleDeformableAttention as MSDA
ModuleNotFoundError: No module named 'MultiScaleDeformableAttention'

@babble2
Copy link

babble2 commented Feb 6, 2023

i meet same problems too, how do you solve it ?

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