-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在mmcv的2.1.0版本中,没有mmcv.runner.utils这个文件夹了,要怎么使用mmcv.runner.utils.obj_from_dict导入数据呢? #3086
Comments
你好,在 mmcv2.0 之后的版本,这个函数被舍弃了,如果你仍然想用这个函数,可以参考 https://github.com/open-mmlab/mmcv/blob/265531fa9fe9e071c7d80df549d680ed257d9a16/mmcv/runner/utils.py#L37。 pip install openmim
mim install "mmcv<2.0" |
你好,我想请问一下,如果我降低mmcv的版本,会对我使用mmdetection产生影响吗? |
从你提供的版本信息可以知道,你使用的 mmdet>=3.0,这意味着你在使用 OpenMMLab2.0 版本,该版本要求 mmcv>=2.0,所以不能降低版本,会影响 mmdet 的使用 |
What is the feature?
Traceback (most recent call last):
File "tools/voc_eval_visualize.py", line 529, in
main()
File "tools/voc_eval_visualize.py", line 524, in main
test_dataset = mmcv.runner.utils.obj_from_dict(cfg.data.test, datasets)
AttributeError: module 'mmcv' has no attribute 'runner'
这是在我使用test_dataset = mmcv.runner.utils.obj_from_dict(cfg.data.test, datasets)来导入数据时,发现的问题,请问我需要怎么做才能从dict导入数据呢?
Any other context?
No response
The text was updated successfully, but these errors were encountered: