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

AttributeError: 'DistributedDataParallel' object has no attribute '_sync_params_and_buffers' #5

Open
manongXT opened this issue Oct 10, 2022 · 1 comment

Comments

@manongXT
Copy link

Can you tell me how to solve this problem?This error occurs in File "../mix-unmix/mum/engine/trainer.py", line 814, in resume_or_load
self.model._sync_params_and_buffers()",I tried to change it to ”self.model.module._sync_params_and_buffers()",but it occurs anthor error "AttributeError: 'TwoStagePseudoLabGeneralizedRCNN' object has no attribute '_sync_params_and_buffers'".thanks.

@ouyang11111
Copy link

Can you tell me how to solve this problem?This error occurs in File "../mix-unmix/mum/engine/trainer.py", line 814, in resume_or_load self.model._sync_params_and_buffers()",I tried to change it to ”self.model.module._sync_params_and_buffers()",but it occurs anthor error "AttributeError: 'TwoStagePseudoLabGeneralizedRCNN' object has no attribute '_sync_params_and_buffers'".thanks.

I have same question. how you fix this bug ?

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

2 participants