Skip to content
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

[Bug] Can't find EpochBasedRunner Fp16OptimizerHook,OptimizerHook,build_optimizer, build_runner, get_dist_info, MMDataparallel #3199

Open
2 tasks done
niranyingluofen opened this issue Nov 4, 2024 · 0 comments

Comments

@niranyingluofen
Copy link

Prerequisite

Environment

torch:2.1.0
mmcv:2.1.0
mmdet:3.2.0
mmengine:0.10.5
mmdet3d:1.4.0

Reproduces the problem - code sample

from mmcv.parallel import MMDataParallel, MMDistributedDataParallel
from mmcv.runner import (
HOOKS,
DistSamplerSeedHook,
EpochBasedRunner,
Fp16OptimizerHook,
OptimizerHook,
build_optimizer,
build_runner,
get_dist_info,
)

已知mmcv升级到2.0之后以上内容会移除,请问这些内容移动到哪里了?以及已经在mmengine中找到了MMDistributedDataParallel但没有找到MMDataParallel,请问MMDataParallel在哪里

Reproduces the problem - command or script

Reproduces the problem - error message

找不到以上内容

Additional information

不更改mmcv版本的条件下解决以上问题

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