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

Method random_select

mmdet/datasets/pipelines/transforms.py:111–126  ·  view source on GitHub ↗

Randomly select an img_scale from given candidates. Args: img_scales (list[tuple]): Images scales for selection. Returns: (tuple, int): Returns a tuple ``(img_scale, scale_dix)``, \ where ``img_scale`` is the selected image scale and \

(img_scales)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_random_scaleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected