Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问代码不支持 torch2.2以上的版本吗? #167

Open
mmglove opened this issue Sep 3, 2024 · 0 comments
Open

请问代码不支持 torch2.2以上的版本吗? #167

mmglove opened this issue Sep 3, 2024 · 0 comments

Comments

@mmglove
Copy link

mmglove commented Sep 3, 2024

依赖版本:
torch 2.3.0+cu118
torchaudio 2.3.0+cu118
torchvision 0.18.0+cu118
MMCV==2.2.0
执行命令:
./tools/dist_train.sh petrv2_vovnet_gridmask_p4_800x320_dn_centerview_benchmark_configs/petrv2_vovnet_gridmask_p4_800x320_dn_centerview_bs1_fp16_DP.py 1 --work-dir work_dirs/petrv2_vovnet_gridmask_p4_800x320_dn_centerview_bs1_fp16_DP/
报错:

Traceback (most recent call last):
File "/PETR/./tools/train.py", line 26, in
from mmdet import version as mmdet_version
File "/PETR/mmdetection/mmdet/init.py", line 25, in
and mmcv_version <= digit_version(mmcv_maximum_version)),
AssertionError: MMCV==2.2.0 is used but incompatible. Please install mmcv>=1.3.17, <=1.6.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant