libfacedetection.train icon indicating copy to clipboard operation
libfacedetection.train copied to clipboard

Problems installing the repo

Open LuisGF93 opened this issue 2 years ago • 1 comments

Hi,

I'm following the README.md instructions for installing everything on my computer, but I'm facing some kind of error when I'm trying to execute the training process.

I've installed pytorch according with the cuda version I have on my computer and also I've followed mmcv instructions to install it without any issue. I've also installed mmdetection following their instructions and everything seems to be ok.

The problem is when I try to run the sample command for training. I'm getting this error:

ModuleNotFoundError: No module named 'mmcv.runner' Traceback (most recent call last): File "tools/train.py", line 13, in <module> from mmcv.runner import get_dist_info, init_dist ModuleNotFoundError: No module named 'mmcv.runner'

Do you have any idea on what am I doing wrong with it?

LuisGF93 avatar Sep 08 '23 11:09 LuisGF93

Hello, @LuisGF93 , I’m not sure what caused the problem, it might be that you installed the wrong version of mmcv, please install the version in the README. Also, the MMDetection package does not need to be installed through pip, but rather run python setup.py develop in the repository to install locally.

Wwupup avatar Sep 13 '23 07:09 Wwupup