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

Method forward_train

mmdet/models/detectors/yolact.py:38–95  ·  view source on GitHub ↗

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 has: 'img_shape', 'scale_factor', 'flip', and may

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

keysMethod · 0.80
to_tensorMethod · 0.45
extract_featMethod · 0.45
lossMethod · 0.45

Tested by

no test coverage detected