class_docstr: RoI head for `Dynamic R-CNN <https://arxiv.org/abs/2004.06002>`_.
code: def __init__(self, **kwargs):
      super(DynamicRoIHead, self).__init__(**kwargs)
      assert isinstance(self.bbox_head.loss_bbox, SmoothL1Loss)
      # the IoU history of the past `update_iter_interval` iterations
      self.iou_history = []
      # the beta history of the past `update_iter_interval` iterations
      self.beta_history = []
  
file_path: insightface/detection/scrfd/mmdet/models/roi_heads/dynamic_roi_head.py
imports: import numpy
  import torch
  from mmdet.core import bbox2roi
  from mmdet.models.losses import SmoothL1Loss
  from ..builder import HEADS
  from .standard_roi_head import StandardRoIHead
label_desc: Use image node_id 1 to create a new DynamicRoIHead object from inherited base classes: StandardRoIHead with example: obj = DynamicRoIHead()