-
Notifications
You must be signed in to change notification settings - Fork 211
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
ImportError: Cannot import 'detrex._C', therefore 'MultiScaleDeformableAttention' is not available. #98
Comments
@Sjyhne Hello! Please make sure you have CUDA runtime, you can check it by print |
You can also follow this issue to see if it can help you to fix the installation problem. #85 (comment) |
Yeah, thanks! This might be my issue. However, I am not able to access the CUDA_HOME, as cuda is not installed locally on the server I'm training on. Are there any other possible solutions to the issue? Circumventing the CUDA_HOME? |
I'm not sure if you're using |
Maybe you can try to build detrex on that server~, find the right cuda path and then |
As there is no more activity, I am closing the issue~ Feel free to reopen it if necessary. Or you can leave a new issue if you meet some other problems. |
Hello!
I'm following the installation guide, but facing issues when trying to run models with MultiScaleDeformableAttention. As the title states, I'm receiving the following error:
ImportError: Cannot import 'detrex._C', therefore 'MultiScaleDeformableAttention' is not available.
Relevant packages from conda list:
detectron2 0.6 dev_0
detrex 0.1.0 dev_0
pytorch 1.10.1 py3.7_cuda10.2_cudnn7.6.5_0 pytorch
pytorch-mutex 1.0 cuda pytorch
torchaudio 0.10.1 py37_cu102 pytorch
torchvision 0.11.2 py37_cu102 pytorch
However when running:
python tools/train_net.py --config-file projects/dino/configs/dino_r50_4scale_12ep.py
I get the error above.
Is there any known solutions for this issue?
The text was updated successfully, but these errors were encountered: