def init_weights(self):
        """Initialize weights of the DeformDETR head."""
        self.transformer.init_weights()
        if self.loss_cls.use_sigmoid:
            bias_init = bias_init_with_prob(0.01)
            for m in self.cls_branches:
                nn.init.constant_(m[-1].bias, bias_init)
Initialize weights of the DeformDETR head.
projects/mmdet3d_plugin/bevformer/dense_heads/bevformer_head.py