MeViS
MeViS copied to clipboard
MultiScaleDeformableAttention import error
I'm using Python 3.8 with PyTorch 1.9 and Cuda 11.1. I have already set cuda_home as such:
export CUDA_HOME=/mnt/slurm_home/remelias/anaconda3/envs/vita30/ cd /mnt/slurm_home/remelias/MeViS-main/mask2former/modeling/pixel_decoder/ops/ sh make.sh
I'm still getting MSDA import error.
Traceback (most recent call last):
line 22, in
How can I resolve this?
It maybe a Pytorch-CUDA version mismatch problem (see here). You may upgrade your PyTorch to 2.0. Our code is based on PyTorch2.0.1+cu117.
Thank you. Using PyTorch 2.0.1+cu117 resolved the error.