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 'filterinterpolation_cuda' #41

Closed
dilipv09 opened this issue Jan 26, 2020 · 6 comments
Closed

ModuleNotFoundError: No module named 'filterinterpolation_cuda' #41

dilipv09 opened this issue Jan 26, 2020 · 6 comments

Comments

@dilipv09
Copy link

Hi Bao,

Executed this command: CUDA_VISIBLE_DEVICES=0 python demo_MiddleBury.py
and getting this module not found error, it is present though.
I have covered all as mentioned and got stuck in this step.

Need help, Thanks!!

@baowenbo
Copy link
Owner

Did you generate our PyTorch extensions:

$ cd DAIN
$ cd my_package
$ ./build.sh

@dilipv09
Copy link
Author

dilipv09 commented Jan 28, 2020 via email

@laomao0
Copy link

laomao0 commented Feb 22, 2020

Hi Bao, Good for the day and Thanks for your response!! Yes, I did execute build.sh and executed successfully. Again, I tried to execute build.sh after running clean.sh and it got executed successfully. Facing the below issue now: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_32E Just for your information, below are system requirements installed: Ubuntu = 16.04.5 LTS Python = 3.6.8 Anaconda3 = 4.7.12 Cuda = 9.0 and Cudnn = 7.0.5 PyTorch = 1.0.0 GCC = 5.4.0 and nvcc = 9.0 compilers NVIDIA GPU = Quadro P2000 Your input is totally appreciable!! Best regards, Dilip Verma

On Mon, Jan 27, 2020 at 2:05 AM Wenbo Bao @.***> wrote: Did you generate our PyTorch extensions: $ cd DAIN $ cd my_package $ ./build.sh — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#41?email_source=notifications&email_token=ANUBMPZOV3ZE23LIGHERAOTQ72BVHA5CNFSM4KLVHX52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJ6P7MY#issuecomment-578617267>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANUBMP7JATOJFUYQ3SDXL53Q72BVHANCNFSM4KLVHX5Q .

This may be your CUDA version is not compilable with your PyTorch version.
Check your cuda version by:
$ python
$ import torch
$ print('torch.version.cuda')

then check your installed pytorch version supports the cuda or not?
If not, re-install the pytorch, then re-compile the cuda codes in my_packages.

@AhabbscienceStudioPak
Copy link

Has anyone find a proper solution for this. I am having this problem on colab despite installing the latest version of Pytorch with CUDA

@redabelca
Copy link

same here

@AlphaGit
Copy link
Contributor

@AhabbscienceStudioPak @redabelca The latest version of pytorch and CUDA are not compatible with this code. The colab code has been adapted so it installs the right versions. Give it a try!

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

6 participants