src/transformers/models/deformable_detr/modeling_deformable_detr.py/DeformableDetrModel/freeze_backbone
class DeformableDetrModel:    def freeze_backbone(self):
        for name, param in self.backbone.conv_encoder.model.named_parameters():
            param.requires_grad_(False)