mmcls.datasets.pipelines.Invert¶ class mmcls.datasets.pipelines.Invert(prob=0.5)[source]¶ Invert images. Parameters prob (float) – The probability for performing invert therefore should be in range [0, 1]. Defaults to 0.5.