Skip to content

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

Description

@mmglove

依赖版本:
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions