cv516Buaa / ST-DASegNet

Apache License 2.0
25 stars 4 forks source link

想知道具体的mmcv以及mmcv-full的版本号 #12

Open SSSilvester opened 3 months ago

SSSilvester commented 3 months ago

想知道具体的mmcv以及mmcv-full的版本号

cv516Buaa commented 3 months ago

This repo first releases at Jan.2023, so the version of mmsegmentation depends on mmcv-full 1.3.11. Actually I try to update UDA Seg to new mmseg version, which depends on mmengine. I suggest you can also try it. Hope can help you and happy summer holiday!

SSSilvester commented 3 months ago

This repo first releases at Jan.2023, so the version of mmsegmentation depends on mmcv-full 1.3.11. Actually I try to update UDA Seg to new mmseg version, which depends on mmengine. I suggest you can also try it. Hope can help you and happy summer holiday!

Hello,

I have installed version 1.3.11 of mmcv-full, but I am still encountering the issue where I cannot import the name 'revert_sync_batchnorm' from 'mmcv.cnn.utils'. Could you provide insight into what might be causing this problem?

I appreciate your assistance and, if it's convenient, could you share a WeChat contact? Thank you very much for your work.

cv516Buaa commented 3 months ago

I think the thing is that you need to carefully refer to https://mmsegmentation.readthedocs.io/en/main/get_started.html. And make pytorch mmcv-full cuda-version compatiable

miaomiaomiao66 commented 1 month ago

This repo first releases at Jan.2023, so the version of mmsegmentation depends on mmcv-full 1.3.11. Actually I try to update UDA Seg to new mmseg version, which depends on mmengine. I suggest you can also try it. Hope can help you and happy summer holiday!

Hello,

I have installed version 1.3.11 of mmcv-full, but I am still encountering the issue where I cannot import the name 'revert_sync_batchnorm' from 'mmcv.cnn.utils'. Could you provide insight into what might be causing this problem?

I appreciate your assistance and, if it's convenient, could you share a WeChat contact? Thank you very much for your work.

miaomiaomiao66 commented 1 month ago

I met the same problem, when mmcv-full 1.3.11 were applied, an error occurred: cannot import the name 'revert_sync_batchnorm' from 'mmcv.cnn.utils'. I believe it is not the problem of mmcv version but rather the problem of pytorch? So I wonder which pytorch version did you use in this experiment. Thanks!