MendelXu / SAN

Open-vocabulary Semantic Segmentation
https://mendelxu.github.io/SAN/
MIT License
295 stars 27 forks source link

about mmcv.track_parallel_progress #53

Closed BanaBanaBanaa closed 4 months ago

BanaBanaBanaa commented 5 months ago

Hi! When I use prepare_voc_seg_sem.py to process my own dataset, I met this bug: Traceback (most recent call last): File "datasets/prepare_isaid_sem_seg.py", line 146, in main() File "datasets/prepare_isaid_sem_seg.py", line 122, in main mmcv.track_parallel_progress( AttributeError: module 'mmcv' has no attribute 'track_parallel_progress' Is there something wrong? Thanks for your reply.

qijunshi commented 4 months ago

Hello BanaBanaBanaa, I cope this problem by adding the specific version of mmcv in requirements.txt ( mmcv==1.3.14) , because the parallel has been removed from MMCV since v2.0.0

MendelXu commented 4 months ago

Thanks for your contribution. Have Corrected it in the requirements.