Lite-HRNet icon indicating copy to clipboard operation
Lite-HRNet copied to clipboard

mmcv error and traning error

Open Priyanshu-Ganwani09 opened this issue 1 year ago • 1 comments

I have installed the compatible version of MMCV, but I am still encountering errors when trying to run the training script. Despite trying various solutions, I am facing persistent issues. Can someone please guide me through the training process?

Here’s the error message I receive:-

  1. python tools/train.py ${CONFIG_FILE} Traceback (most recent call last): File "C:\Users\Desktop\HRNET\Lite-HRNet\tools\train.py", line 9, in from mmcv import Config, DictAction ImportError: cannot import name 'Config' from 'mmcv' (C:\Users\anaconda3\Lib\site-packages\mmcv_init_.py)

Priyanshu-Ganwani09 avatar Sep 28 '24 20:09 Priyanshu-Ganwani09

See https://github.com/open-mmlab/mmcv/blob/4b38ffcf45a6a42e3cb34efd6fa38b9c8fa915b7/docs/zh_cn/get_started/api_reference.md

Burnling-gx avatar Mar 23 '25 01:03 Burnling-gx