Skip to content

AttributeError: module 'mmcv' has no attribute 'Config'  #61

Description

@aradhyamathur

For the new version of mmcv it seems that Config has been moved to MMEngine. The following is a quick fix

import config from mmengine
cfg = config.Config.from_file(args.config)

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