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

多卡训练失败 #183

Open
youhha opened this issue Aug 21, 2024 · 0 comments
Open

多卡训练失败 #183

youhha opened this issue Aug 21, 2024 · 0 comments

Comments

@youhha
Copy link

youhha commented Aug 21, 2024

我使用4卡4090上训练maptr,nuscense数据集,出现以下报错,请问是什么原因呀
Traceback (most recent call last):
File "./tools/train.py", line 260, in
main()
File "./tools/train.py", line 249, in main
custom_train_model(
File "/workspace/code/projects/mmdet3d_plugin/bevformer/apis/train.py", line 27, in custom_train_model
custom_train_detector(
File "/workspace/code/projects/mmdet3d_plugin/bevformer/apis/mmdet_train.py", line 75, in custom_train_detector
model = MMDistributedDataParallel(
File "/usr/local/lib/python3.8/site-packages/torch/nn/parallel/distributed.py", line 496, in init
dist._verify_model_across_ranks(self.process_group, parameters)
RuntimeError: replicas[0][0] in this process with sizes [80, 128] appears not to match sizes of the same param in process 0.

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