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 'mmcv.cnn' #4

Closed
TechHalloman opened this issue Dec 2, 2023 · 2 comments
Closed

ModuleNotFoundError: No module named 'mmcv.cnn' #4

TechHalloman opened this issue Dec 2, 2023 · 2 comments

Comments

@TechHalloman
Copy link

File "/home/sos/Documents/NTIRE23-VIDEO-COLORIZATION/BiSTNet-NTIRE2023/test_NTIRE23_Track_1_FID.py", line 18, in
from models.ColorVidNet import SPyNet
File "/home/sos/Documents/NTIRE23-VIDEO-COLORIZATION/BiSTNet-NTIRE2023/models/ColorVidNet.py", line 6, in
from mmcv.cnn import ConvModule
ModuleNotFoundError: No module named 'mmcv.cnn'

@yyang181
Copy link
Owner

yyang181 commented Dec 2, 2023

Hi, thanks so much for your interest in the project.

The encountered challenge pertains to the mmcv version. Specifically, our project relies on mmcv 1.x, whereas the default branch, denoted as mmcv 2.x, proves incompatible.

Ensure that your mmcv version is set to 1.x, and verify your PyTorch version, avoiding the use of PyTorch 2.1.0, as outlined in this issue.

Additionally, please be informed that we intend to release our Colab demo in the coming days.

Hope these information finds you well.

@yyang181 yyang181 closed this as completed Dec 2, 2023
@yyang181
Copy link
Owner

yyang181 commented Dec 2, 2023

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

2 participants