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 name 'deform_conv_cuda' #96
Comments
Did you compile the dcn model before running? |
Thanks for your reply. |
I have the same problem. The issue is that the file codes/models/archs/dcn/deform_conv_cuda is missing. |
Does this command not create the deform_conv_cuda.xxxxx.so file? |
That helped, thanks! |
Thanks a lot! The command |
This helps! |
when I run the |
When I run the test_Vid4_REDS4_with_GT.py, I got the importError.
`Traceback (most recent call last):
File "/home/EDVR/codes/models/archs/EDVR_arch.py", line 8, in
from models.archs.dcn.deform_conv import ModulatedDeformConvPack as DCN
File "/home/EDVR/codes/models/archs/dcn/init.py", line 1, in
from .deform_conv import (DeformConv, DeformConvPack, ModulatedDeformConv, ModulatedDeformConvPack,
File "/home/EDVR/codes/models/archs/dcn/deform_conv.py", line 10, in
from . import deform_conv_cuda
ImportError: cannot import name 'deform_conv_cuda'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/EDVR/codes/test_EDVR_REDS_SR_L.py", line 16, in
import models.archs.EDVR_arch as EDVR_arch
File "/home/EDVR/codes/models/archs/EDVR_arch.py", line 10, in
raise ImportError('Failed to import DCNv2 module.')
ImportError: Failed to import DCNv2 module.`
My configuration as below:
python 3.5
Pytorch 1.0
GCC 5.4.0
CUDA 8.0
what should I do to handle the error? thanks in advance.
The text was updated successfully, but these errors were encountered: