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

Method translate

mmdet/core/mask/structures.py:381–429  ·  view source on GitHub ↗

Translate the BitmapMasks. Args: out_shape (tuple[int]): Shape for output mask, format (h, w). offset (int | float): The offset for translate. direction (str): The translate direction, either "horizontal" or "vertical". fill_va

(self,
                  out_shape,
                  offset,
                  direction='horizontal',
                  fill_val=0,
                  interpolation='bilinear')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_translate_masksMethod · 0.45

Calls 1

BitmapMasksClass · 0.85

Tested by

no test coverage detected