class_docstr: Implementation of `Cascade R-CNN: Delving into High Quality Object
  Detection <https://arxiv.org/abs/1906.09756>`_
class_docstr_tok: ["Implementation","of","`","Cascade","R-CNN",":","Delving","into","High","Quality","Object","Detection","<","https",":","\/\/arxiv.org\/abs\/1906.09756",">","`","_"]
docstr: Show prediction results of the detector.
docstr_tok: ["Show","prediction","results","of","the","detector","."]
code: def show_result(self, data, result, **kwargs):
      """Show prediction results of the detector."""
      if self.with_mask:
          ms_bbox_result, ms_segm_result = result
          if isinstance(ms_bbox_result, dict):
              result = (
                  ms_bbox_result["ensemble"],
                  ms_segm_result["ensemble"],
              )
      else:
          if isinstance(result, dict):
              result = result["ensemble"]
      return super(CascadeRCNN, self).show_result(
          data, result, **kwargs
      )
  
imports: from ..builder import DETECTORS
  from .two_stage import TwoStageDetector
label_desc: Use image node_id 2 for calling the CascadeRCNN obj's underlying member method code with example usage: obj.show_result(data, result) and returns: super