Skip to content

ModuleNotFoundError: No module named 'mmcv.parallel' #2761

@Liqq1

Description

@Liqq1

您好, 我的程序中涉及:

from mmcv.parallel import MMDataParallel, MMDistributedDataParallel

但出现以下错误:

ModuleNotFoundError: No module named 'mmcv.parallel'

我的版本为:

mmcv                2.0.0rc4
mmengine            0.7.2
mmsegmentation      1.0.0
torch               1.12.1+cu113
torchaudio          0.12.1+cu113
torchvision         0.13.1+cu113

Metadata

Metadata

Assignees

No one assigned

    Labels

    new architectureOpenMMLab's new architecture causing version compatibility issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions