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.utils.sync_bn' #9

Open
Bai426 opened this issue Jul 12, 2023 · 5 comments
Open

ModuleNotFoundError: No module named 'mmcv.cnn.utils.sync_bn' #9

Bai426 opened this issue Jul 12, 2023 · 5 comments

Comments

@Bai426
Copy link

Bai426 commented Jul 12, 2023

Hi, there, I am facing on a problem for missing one library. I checked the mmcv and found there is no sync_bn.py. Please let me know how to handle this. Thank you very much!

Best,
Mike

@gofixyourself
Copy link
Contributor

Hi Mike,

Please share information about your Python, PyTorch, and MMCV versions. This problem can be because of the wrong libs environment.

Sincerely,
Sofia

@sheros21
Copy link

Hi, I ran into this issue as well while trying to run the image_demo.py file. Here are the versions I'm using:
Python v3.8.16
Pytorch v2.0.1
MMCV v2.0.0

Let me know if there's anything else I can provide.

@annatelegina
Copy link

Hi! I have the same problem. Have you solved it?

@Bai426
Copy link
Author

Bai426 commented Aug 3, 2023 via email

@Luca-Wiehe
Copy link

Luca-Wiehe commented Nov 23, 2024

I am getting the same error.

Linux Ubuntu 22.04
python 3.10
torch 2.2
cuda 12.1
mmcv 2.0.0

I used the pip installation from the docs.

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

4 participants