Entity
Entity copied to clipboard
How to Set the "find_unused_parameters=True" After Installing Detectron2
When I train with 2 GPUs, I have the same problem in https://github.com/facebookresearch/detectron2/issues/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
Thus, I want to ask you whether I change it correctly.
I am looking forward to your response.
Hello,
Your modification is correct.
Thank you!