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

How to Set the "find_unused_parameters=True" After Installing Detectron2 #23

Open
15024287710Jackson opened this issue Aug 13, 2022 · 2 comments

Comments

@15024287710Jackson
Copy link

When I train with 2 GPUs, I have the same problem in facebookresearch/detectron2#4191.
Thus, after reading your README.MD, I want to know how to set the "find_unused_parameters=True" in distributed training of my own detectron2.
I have tried to set the "find_unused_parameters=True" in the detectron2/engine/defaults.py
image
Thus, I want to ask you whether I change it correctly.
I am looking forward to your response.

@qqlu
Copy link
Owner

qqlu commented Aug 13, 2022

Hello,

Your modification is correct.

@15024287710Jackson
Copy link
Author

Thank you!

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