Skip to content

No module named 'mmcv.runner' #96

@2783000

Description

@2783000

conda create -n open-mmlab python=3.7 -y
conda activate open-mmlab

conda install pytorch=1.6.0 torchvision cudatoolkit=10.1 -c pytorch
pip install mmcv-full==1.2.2 -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.6.0/index.html
git clone https://github.com/fudan-zvg/SETR.git
cd SETR
pip install -e . # or "python setup.py develop"
pip install -r requirements/optional.txt

出现错误
Traceback (most recent call last):
File "/home/lxj/code/EDTER-main/tools/train.py", line 9, in
from mmcv.runner import init_dist
ModuleNotFoundError: No module named 'mmcv.runner'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions