w1oves / Rein

[CVPR 2024] Official implement of <Stronger, Fewer, & Superior: Harnessing Vision Foundation Models for Domain Generalized Semantic Segmentation>
https://zxwei.site/rein
GNU General Public License v3.0
215 stars 19 forks source link

mmcv version conflict #39

Closed FelixCaae closed 3 months ago

FelixCaae commented 3 months ago

As depicted in the readme, mmcv >=2.0.0 is recommended However, when I try to prepare my cityscape dataset with the provided script (cityscapes.py), it comes out with an error says that mmcv.scandir is not found. I has checked the version of mmcv and found that mmcv stop supporting this function since 2.0.0 and so there is a conflict.

w1oves commented 3 months ago

Thank you for pointing out that issue! Modifying mmcv to mmengine should resolve the problem. I have pushed the corrected code to GitHub.