Skip to content

mmcv issue #238

@lrj16

Description

@lrj16

I tried everything i can, but still can not fix this problem. I just want to inference and do not need to train, but this line:

from mmdet.apis import inference_detector, init_detector

always report error: ModuleNotFoundError: No module named 'mmcv._ext'
My env:

torch.version
'2.2.2'
print(f"CUDA version used by PyTorch: {torch.version.cuda}")
CUDA version used by PyTorch: 12.1

mmcv: 2.1.0

How to fix this bug? any suggestion? thanks a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions