5b523d289824267c87da6d27ed2ec50252f49b6a,tests/test_augmentations.py,,test_augmentations_wont_change_float_input,#Any#Any#Any#,228
Before Change
float_image_copy = float_image.copy()
aug = augmentation_cls(p=1, **params)
annotations = {"image": float_image, "cropped_bbox": [-59, 77, 177, 231]}
data = aug(**annotations)
assert np.array_equal(float_image, float_image_copy)
@pytest.mark.parametrize(["augmentation_cls", "params"], [
After Change
def test_augmentations_wont_change_float_input(augmentation_cls, params, float_image):
float_image_copy = float_image.copy()
aug = augmentation_cls(p=1, **params)
aug(image=float_image)
assert np.array_equal(float_image, float_image_copy)
@pytest.mark.parametrize(["augmentation_cls", "params"], [
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: albu/albumentations
Commit Name: 5b523d289824267c87da6d27ed2ec50252f49b6a
Time: 2018-12-07
Author: lina.shiryaeva@mapbox.com
File Name: tests/test_augmentations.py
Class Name:
Method Name: test_augmentations_wont_change_float_input
Project Name: albu/albumentations
Commit Name: 8e368543ab3f53bf43d8ac2b90cfe70c024cf817
Time: 2018-09-17
Author: al.buslaev@gmail.com
File Name: tests/test_imgaug.py
Class Name:
Method Name: test_imagaug_flipud_transform_bboxes
Project Name: albu/albumentations
Commit Name: ffde76202a196d33f569ec69e94f66903a089f79
Time: 2018-12-06
Author: lina.shiryaeva@mapbox.com
File Name: tests/test_augmentations.py
Class Name:
Method Name: test_augmentations_wont_change_float_input
Project Name: albu/albumentations
Commit Name: 8e368543ab3f53bf43d8ac2b90cfe70c024cf817
Time: 2018-09-17
Author: al.buslaev@gmail.com
File Name: tests/test_imgaug.py
Class Name:
Method Name: test_imagaug_fliplr_transform_bboxes