Skip to content

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

@15024287710Jackson

Description

@15024287710Jackson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions