open-mmlab / mmselfsup

OpenMMLab Self-Supervised Learning Toolbox and Benchmark
https://mmselfsup.readthedocs.io/en/latest/
Apache License 2.0
3.14k stars 429 forks source link

cannot import name Config from mmcv[Bug] #756

Open GitSachinThorat opened 1 year ago

GitSachinThorat commented 1 year ago

Branch

master branch (0.x version, such as v0.10.0, or dev branch)

Prerequisite

Environment

When I am trying to run the colab file 'https://colab.research.google.com/github/open-mmlab/mmselfsup/blob/master/demo/mmselfsup_colab_tutorial.ipynb#scrollTo=fb3da020"

Describe the bug

Tt gives me error message - cannot import name config from mmcv. I tried different ways but was not able to resolve issue

Reproduces the problem - code sample

Load the basic config file

from mmcv import Config

Reproduces the problem - command or script

colabl file - https://colab.research.google.com/github/open-mmlab/mmselfsup/blob/master/demo/mmselfsup_colab_tutorial.ipynb#scrollTo=fb3da020

Reproduces the problem - error message

cannot import name config from mmcv.

Additional information

Load the basic config file

from mmcv import Config

The above line gives error message - cannot import name config from mmcv.