qqlu / Entity

EntitySeg Toolbox: Towards Open-World and High-Quality Image Segmentation
Other
704 stars 58 forks source link

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

Open 15024287710Jackson opened 2 years ago

15024287710Jackson commented 2 years ago

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.

qqlu commented 2 years ago

Hello,

Your modification is correct.

15024287710Jackson commented 2 years ago

Thank you!