class_docstr: Base class for two-stage detectors.
  
  Two-stage detectors typically consisting of a region proposal network and a
  task-specific regression head.
class_docstr_tok: ["Base","class","for","two-stage","detectors",".","Two-stage","detectors","typically","consisting","of","a","region","proposal","network","and","a","task-specific","regression","head","."]
docstr: Test without augmentation.
docstr_tok: ["Test","without","augmentation","."]
code: def simple_test(self, img, img_metas, proposals=None, rescale=False):
      """Test without augmentation."""
      assert self.with_bbox, "Bbox head must be implemented."
  
      x = self.extract_feat(img)
  
      if proposals is None:
          proposal_list = self.rpn_head.simple_test_rpn(x, img_metas)
      else:
          proposal_list = proposals
  
      return self.roi_head.simple_test(
          x, proposal_list, img_metas, rescale=rescale
      )
  
file_path: insightface/detection/scrfd/mmdet/models/detectors/two_stage.py
imports: import torch
  import torch.nn
  from ..builder import DETECTORS, build_backbone, build_head, build_neck
  from .base import BaseDetector
label_desc: Use image node_id 8 for calling the TwoStageDetector obj's underlying member method code with example usage: obj.simple_test(img, img_metas, proposals, rescale) and returns: self