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

Method rescale

mmdet/core/mask/structures.py:16–26  ·  view source on GitHub ↗

Rescale masks as large as possible while keeping the aspect ratio. For details can refer to `mmcv.imrescale`. Args: scale (tuple[int]): The maximum size (h, w) of rescaled mask. interpolation (str): Same as :func:`mmcv.imrescale`. Returns:

(self, scale, interpolation='nearest')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected