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

Method random_sample

mmdet/datasets/pipelines/transforms.py:129–153  ·  view source on GitHub ↗

Randomly sample an img_scale when ``multiscale_mode=='range'``. Args: img_scales (list[tuple]): Images scale range for sampling. There must be two tuples in img_scales, which specify the lower and upper bound of image scales. Returns:

(img_scales)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_random_scaleMethod · 0.95
random_sample_ratioMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected