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

DCNv2 error running run.py #3

Open
gardiiinc opened this issue Oct 18, 2020 · 0 comments
Open

DCNv2 error running run.py #3

gardiiinc opened this issue Oct 18, 2020 · 0 comments

Comments

@gardiiinc
Copy link

Thanks for sharing your code.
I've got a problem starting run.py

got this:
`python run.py
Traceback (most recent call last):
File "/.../VideoEnhancer/EDVR_networks/archs/EDVR_arch.py", line 8, in
from EDVR_networks.archs.dcn.deform_conv import ModulatedDeformConvPack as DCN
File "/.../VideoEnhancer/EDVR_networks/archs/dcn/init.py", line 1, in
from .deform_conv import (DeformConv, DeformConvPack, ModulatedDeformConv, ModulatedDeformConvPack,
File "/.../VideoEnhancer/EDVR_networks/archs/dcn/deform_conv.py", line 10, in
from . import deform_conv_cuda
ImportError: cannot import name 'deform_conv_cuda' from 'EDVR_networks.archs.dcn' (/.../VideoEnhancer/EDVR_networks/archs/dcn/init.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "run.py", line 3, in
import EDVR_networks.archs.EDVR_arch as EDVR_arch
File "/.../VideoEnhancer/EDVR_networks/archs/EDVR_arch.py", line 10, in
raise ImportError('Failed to import DCNv2 module.')
ImportError: Failed to import DCNv2 module.
`
I researched a little bit, because it is pointing to EDVR. I don't know if this is a problem of the current EDVR, which do not use DCNv2 anymore. I'm confused. Is your src older?
I pip installed DCNv2 and even git clone the src and compiled, but no luck my conda enviroment has it put run.py does not see it.

Is this meant do be complete and did you give the dirs other names, but copy them from a seperate updated EDVR, DAIN install?

Maybe you can help? Thanks.

System Linux Mint 20, RTX 2060 s

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

1 participant