MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / forward_train

Method forward_train

mmdet/models/detectors/sparse_rcnn.py:16–65  ·  view source on GitHub ↗

Forward function of SparseR-CNN and QueryInst in train stage. Args: img (Tensor): of shape (N, C, H, W) encoding input images. Typically these should be mean centered and std scaled. img_metas (list[dict]): list of image info dict where each dict

(self,
                      img,
                      img_metas,
                      gt_bboxes,
                      gt_labels,
                      gt_bboxes_ignore=None,
                      gt_masks=None,
                      proposals=None,
                      **kwargs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

extract_featMethod · 0.45

Tested by

no test coverage detected