Entity icon indicating copy to clipboard operation
Entity copied to clipboard

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

Open 15024287710Jackson opened this issue 2 years ago • 2 comments

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 image Thus, I want to ask you whether I change it correctly. I am looking forward to your response.

15024287710Jackson avatar Aug 13 '22 16:08 15024287710Jackson

Hello,

Your modification is correct.

qqlu avatar Aug 13 '22 22:08 qqlu

Thank you!

15024287710Jackson avatar Aug 14 '22 12:08 15024287710Jackson