Skip to content

mmcv error and traning error #95

@Priyanshu-Ganwani09

Description

@Priyanshu-Ganwani09

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions