a16fe2b4f917b6b7a6f81c63832429740ff02311,test/augmentation/test_augmentation_3d.py,TestRandomDepthicalFlip3D,test_random_dflip,#TestRandomDepthicalFlip3D#,360

Before Change


        f2 = RandomDepthicalFlip3D(p=1.)
        f3 = RandomDepthicalFlip3D(p=0.)

        input = torch.tensor([[[0., 0., 0., 0.],
                               [0., 0., 0., 0.],
                               [0., 0., 0., 1.]],
                              [[0., 0., 0., 0.],
                               [0., 0., 0., 0.],
                               [0., 0., 0., 2.]]])  // 2 x 3 x 4

        input = input.to(device)

        expected = torch.tensor([[[0., 0., 0., 0.],
                                  [0., 0., 0., 0.],
                                  [0., 0., 0., 2.]],

After Change


        f2 = RandomDepthicalFlip3D(p=1.)
        f3 = RandomDepthicalFlip3D(p=0.)

        input = torch.tensor([[[[[0., 0., 0., 0.],
                                 [0., 0., 0., 0.],
                                 [0., 0., 0., 1.]],
                                [[0., 0., 0., 0.],
                                 [0., 0., 0., 0.],
                                 [0., 0., 0., 2.]]]]], device=device, dtype=dtype)  // 2 x 3 x 4

        expected = torch.tensor([[[[[0., 0., 0., 0.],
                                    [0., 0., 0., 0.],
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: arraiy/torchgeometry
Commit Name: a16fe2b4f917b6b7a6f81c63832429740ff02311
Time: 2021-01-20
Author: sj8716643@126.com
File Name: test/augmentation/test_augmentation_3d.py
Class Name: TestRandomDepthicalFlip3D
Method Name: test_random_dflip


Project Name: arraiy/torchgeometry
Commit Name: a16fe2b4f917b6b7a6f81c63832429740ff02311
Time: 2021-01-20
Author: sj8716643@126.com
File Name: test/augmentation/test_augmentation_3d.py
Class Name: TestRandomVerticalFlip3D
Method Name: test_random_vflip


Project Name: arraiy/torchgeometry
Commit Name: a16fe2b4f917b6b7a6f81c63832429740ff02311
Time: 2021-01-20
Author: sj8716643@126.com
File Name: test/augmentation/test_augmentation_3d.py
Class Name: TestRandomDepthicalFlip3D
Method Name: test_random_dflip