hukenovs/easyportrait

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

Bai426 opened this issue · 4 comments

Bai426 commented

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

Hi Mike,

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

Sincerely,
Sofia

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.

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