MCPcopy Create free account
hub / github.com/Kaggle/docker-python / TestAlbumentations

Class TestAlbumentations

tests/test_albumentations.py:6–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4from albumentations import HorizontalFlip
5
6class TestAlbumentations(unittest.TestCase):
7 def test_rotate(self):
8 image = cv2.imread('/input/tests/data/dot.png')
9 aug = HorizontalFlip(p=1)
10 image_rotated = aug(image=image)['image']

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected