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
gofixyourself commented
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 commented
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 commented
Hi! I have the same problem. Have you solved it?
Deleted user commented
Sorry, I didn't solve it but switched to other method.
…________________________________
From: Anna Telegina ***@***.***>
Sent: Thursday, August 3, 2023 8:16 AM
To: hukenovs/easyportrait ***@***.***>
Cc: Yongsheng Bai ***@***.***>; Author ***@***.***>
Subject: Re: [hukenovs/easyportrait] ModuleNotFoundError: No module named 'mmcv.cnn.utils.sync_bn' (Issue #9)
Hi! I have the same problem. Have you solved it? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread. Message ID: <hukenovs/easyportrait/issues/9/1663875853@ github. com>
Hi! I have the same problem. Have you solved it?
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/hukenovs/easyportrait/issues/9*issuecomment-1663875853__;Iw!!KGKeukY!yb1lGkF2G8u3GjgOzhnZcjKeO4XI_QE5_ws8-jOOgF7gXOa1LVyqmjED5DgeG23AaNcqgWirfMAE6ZTdkWvuQXSL3g$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AKQHMIUIJYAUQL7E23D2DZ3XTOJBPANCNFSM6AAAAAA2IEZDYQ__;!!KGKeukY!yb1lGkF2G8u3GjgOzhnZcjKeO4XI_QE5_ws8-jOOgF7gXOa1LVyqmjED5DgeG23AaNcqgWirfMAE6ZTdkWuaAZnonA$>.
You are receiving this because you authored the thread.Message ID: ***@***.***>