8000 [Bug] ImportError: cannot import name 'MMDataParallel' from 'mmcv.parallel' · Issue #3261 · open-mmlab/mmcv · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Bug] ImportError: cannot import name 'MMDataParallel' from 'mmcv.parallel' #3261

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

Open
2 tasks done
zzlyon opened this issue Mar 19, 2025 · 0 comments
Open
2 tasks done

Comments

@zzlyon
Copy link
zzlyon commented Mar 19, 2025

Prerequisite

Environment

Reproduces the problem - code sample

Reproduces the problem - command or script

Reproduces the problem - error message

Additional information

I'm supposed to:'from mmcv.parallel import MMDataParallel, MMDistributedDataParallel', it certainly runs error because I know that you have updated mmcv and many are transfered to mmengine, so I searched them in mmengine.
I can find 'MMDistributedDataParallel' from the latest version in mmengine.model, however, 'MMDataParallel' can't be found anywhere, is it deleted or repalced by other name?
Additionally, others like 'wrap_fp16_model' in mmcv or 'build_detector' in mmdet3d has exactly the same question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0