MengyangPu / EDTER

EDTER: Edge Detection with Transformer, in CVPR 2022

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ModuleNotFoundError: No module named 'mmcv._ext'

kulkarnikeerti opened this issue · comments

Hi @MengyangPu

Can you help with this error.
I followed the below steps:

pip install -r requirements.txt
pip install mmcv
pip install mmsegmentation

And I get the mentioned error when I run python tools/test.py

I am using:

Ubuntu 22.04
GCC: 9.5.0 (default was 11.3 but I changed it to 9 assuming it would work)
Python: 3.10.6
CUDA: 11.4
Torch: '1.13.1+cu117'

Thanks in advance

Maybe you can refer to the installation.

I was able to resolve the issue by downgrading the Gcc version to 9 and fresh installation of Pytorch, Mmcv and Mmsegmentation. After many trail and errors with versions it was resolved. Thanks